Merge "Add the build type to META folder in target files.zip" am: 53a6fd6498

am: dc43cddbf6

* commit 'dc43cddbf613daeda98c02836d6ff82592fc53f7':
  Add the build type to META folder in target files.zip
This commit is contained in:
Steve Fung 2015-11-06 03:25:42 +00:00 committed by android-build-merger
commit 60bc4bf8fc

View file

@ -1630,6 +1630,8 @@ ifeq ($(AB_OTA_UPDATER),true)
$(hide) for part in $(AB_OTA_PARTITIONS); do \
echo "$${part}" >> $(zip_root)/META/ab_partitions.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
$(hide) $(ACP) $(TARGET_OUT_ETC)/$(OSRELEASED_DIRECTORY)/product_id $(zip_root)/META/product_id.txt
$(hide) $(ACP) $(TARGET_OUT_ETC)/$(OSRELEASED_DIRECTORY)/product_version $(zip_root)/META/product_version.txt