summaryrefslogtreecommitdiffstats
path: root/vndk
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2019-01-07 10:36:49 +0900
committerJustin Yun <justinyun@google.com>2019-01-07 10:36:49 +0900
commit247e95ad4b04ac3049f799c51e030ab9ed376b56 (patch)
tree087f8da5d0ea1c03b356a8a402b67df201e986b2 /vndk
parent4fcddf16cc841d2c1651d174dbf72b0b3baeadae (diff)
downloadandroid_development-247e95ad4b04ac3049f799c51e030ab9ed376b56.tar.gz
android_development-247e95ad4b04ac3049f799c51e030ab9ed376b56.tar.bz2
android_development-247e95ad4b04ac3049f799c51e030ab9ed376b56.zip
Update android-info.txt in dist directory.
We update android-info.txt if we don't need product.img to flash. In that case the updated one must be provided to dist directory for flashstation to flash correctly. Bug: 120578242 Test: Use flashstation to flash the mixed build target Change-Id: I43b9d5cb3352a8c56221a325197c189c22a3d6f6
Diffstat (limited to 'vndk')
-rwxr-xr-xvndk/tools/build_mixed2
1 files changed, 2 insertions, 0 deletions
diff --git a/vndk/tools/build_mixed b/vndk/tools/build_mixed
index 5d6469aef..09d929271 100755
--- a/vndk/tools/build_mixed
+++ b/vndk/tools/build_mixed
@@ -237,3 +237,5 @@ rsync --archive --verbose --copy-links --exclude='logs' \
# Overwrite the image archive with the Mixed Build archive.
OUT_ARCHIVE="$DIST_DIR"/"$(basename $DEVICE_ARCHIVE)"
cp "$DEVICE_IMAGES_DIR"/mixed.zip "$OUT_ARCHIVE"
+# Overwrite android-info.txt with the updated one.
+cp "$DEVICE_IMAGES_DIR"/android-info.txt "$DIST_DIR"/