Remove android-emulator checkout too
This commit is contained in:
parent
316f5c8174
commit
dc4b671f3c
|
@ -1,12 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
REMOVE_PREFIXES=("device/google" "kernel/")
|
||||
REMOVE_PREFIXES=("device/google" "kernel/" "prebuilts/android-emulator")
|
||||
|
||||
echo '<?xml version="1.0" encoding="UTF-8"?>'
|
||||
echo '<manifest>'
|
||||
|
||||
for prefix in "${REMOVE_PREFIXES[@]}"; do
|
||||
cat ../manifests/default.xml | grep path=\"$prefix | sed -r "s@^.*path=\"($prefix[^\"]+)\".*@\1@" | while read line; do
|
||||
cat ../manifests/default.xml | grep path=\"$prefix | sed -r "s@^.*path=\"($prefix[^\"]*)\".*@\1@" | while read line; do
|
||||
echo " <remove-project path=\"$line\" />"
|
||||
done
|
||||
done
|
||||
|
|
|
@ -75,4 +75,5 @@
|
|||
<remove-project path="kernel/prebuilts/common-modules/virtual-device/mainline/arm64" />
|
||||
<remove-project path="kernel/prebuilts/common-modules/virtual-device/mainline/x86-64" />
|
||||
<remove-project path="kernel/tests" />
|
||||
<remove-project path="prebuilts/android-emulator" />
|
||||
</manifest>
|
||||
|
|
Loading…
Reference in a new issue