SkQP: experimental docker script cleanup
No-Try: true Change-Id: I9acecd7c20dac0de0b660e183fcbe3e44ae07715 Reviewed-on: https://skia-review.googlesource.com/c/178922 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
parent
a6e3f6288c
commit
35cc6d7e39
@ -26,7 +26,17 @@ docker exec \
|
||||
--env=SKQP_OUTPUT_DIR=/OUT \
|
||||
--env=SKQP_BUILD_DIR=/BUILD \
|
||||
android_em /SRC/tools/skqp/make_universal_apk.py
|
||||
docker exec \
|
||||
--env=SKQP_OUTPUT_DIR=/OUT \
|
||||
--env=SKQP_BUILD_DIR=/BUILD \
|
||||
android_em find '/BUILD/.' '!' -name '.' -prune -exec rm -rf '{}' '+'
|
||||
if [ -f "$OUT"/skqp-universal-debug.apk ]; then
|
||||
docker exec \
|
||||
--env=SKQP_OUTPUT_DIR=/OUT \
|
||||
--env=SKQP_BUILD_DIR=/BUILD \
|
||||
android_em chmod 0666 /OUT/*.apk
|
||||
fi
|
||||
|
||||
docker kill android_em
|
||||
rm -r "$BUILD"
|
||||
chmod -R 0777 "$OUT"
|
||||
ls -l "$OUT"/*.apk
|
||||
rmdir "$BUILD"
|
||||
ls -l "$OUT"/*.apk 2> /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user