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:
commit
60bc4bf8fc
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue