Merge "Supply apex_info.pb as parameter to delta_generator if file exists" am: df2af7c840
Original change: https://android-review.googlesource.com/c/platform/build/+/2617618 Change-Id: I9751859fb7114e3cc216860bb2cb951fcefe74fa Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -846,6 +846,11 @@ class PayloadGenerator(object):
|
|||||||
if os.path.exists(dynamic_partition_info):
|
if os.path.exists(dynamic_partition_info):
|
||||||
cmd.extend(["--dynamic_partition_info_file", dynamic_partition_info])
|
cmd.extend(["--dynamic_partition_info_file", dynamic_partition_info])
|
||||||
|
|
||||||
|
apex_info = os.path.join(
|
||||||
|
target_dir, "META", "apex_info.pb")
|
||||||
|
if os.path.exists(apex_info):
|
||||||
|
cmd.extend(["--apex_info_file", apex_info])
|
||||||
|
|
||||||
major_version, minor_version = ParseUpdateEngineConfig(
|
major_version, minor_version = ParseUpdateEngineConfig(
|
||||||
os.path.join(target_dir, "META", "update_engine_config.txt"))
|
os.path.join(target_dir, "META", "update_engine_config.txt"))
|
||||||
if source_file:
|
if source_file:
|
||||||
|
Reference in New Issue
Block a user