Merge "Add the build type to META folder in target files.zip"
am: 53a6fd6498
* commit '53a6fd649817e5d9909d9aaca0369c19840f8613':
Add the build type to META folder in target files.zip
This commit is contained in:
@@ -1630,6 +1630,8 @@ ifeq ($(AB_OTA_UPDATER),true)
|
|||||||
$(hide) for part in $(AB_OTA_PARTITIONS); do \
|
$(hide) for part in $(AB_OTA_PARTITIONS); do \
|
||||||
echo "$${part}" >> $(zip_root)/META/ab_partitions.txt; \
|
echo "$${part}" >> $(zip_root)/META/ab_partitions.txt; \
|
||||||
done
|
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
|
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_id $(zip_root)/META/product_id.txt
|
||||||
$(hide) $(ACP) $(TARGET_OUT_ETC)/$(OSRELEASED_DIRECTORY)/product_version $(zip_root)/META/product_version.txt
|
$(hide) $(ACP) $(TARGET_OUT_ETC)/$(OSRELEASED_DIRECTORY)/product_version $(zip_root)/META/product_version.txt
|
||||||
|
Reference in New Issue
Block a user