Merge "Write AB_OTA_POSTINSTALL_CONFIG to META/postinstall_config.txt." am: 99d5f361b4 am: 48ea511512

am: 0cac39037d

* commit '0cac39037d68e6efc9caa2745d1ff41e22c8f6a3':
  Write AB_OTA_POSTINSTALL_CONFIG to META/postinstall_config.txt.
This commit is contained in:
Sen Jiang 2015-11-13 19:23:41 +00:00 committed by android-build-merger
commit c969984b96
1 changed files with 3 additions and 0 deletions

View File

@ -1628,6 +1628,9 @@ ifeq ($(AB_OTA_UPDATER),true)
$(hide) for part in $(AB_OTA_PARTITIONS); do \
echo "$${part}" >> $(zip_root)/META/ab_partitions.txt; \
done
$(hide) for conf in $(AB_OTA_POSTINSTALL_CONFIG); do \
echo "$${conf}" >> $(zip_root)/META/postinstall_config.txt; \
done
@# Include the build type in META/misc_info.txt so the server can easily differentiate production builds.
$(hide) echo "build_type=$(TARGET_BUILD_VARIANT)" >> $(zip_root)/META/misc_info.txt
ifdef OSRELEASED_DIRECTORY