Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b837b717 authored by Iavor-Valentin Iftime's avatar Iavor-Valentin Iftime Committed by Robin Lee
Browse files

Skip generating care_map for non-AB updates

Bug: 186097910
Test: build a non-AB update merged target using Forrest,
      No errors reported and no META/care_map.pb is generated.

Change-Id: I74990b0aa7f46d4c4d40098a4b102f7e04166c39
parent ee5ceff6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1618,7 +1618,8 @@ def merge_target_files(temp_dir, framework_target_files, framework_item_list,
  if not output_target_files:
    return

  # Create the merged META/care_map.bp
  # Create the merged META/care_map.pb if A/B update
  if 'ab_update' in framework_misc_info_keys:
    generate_care_map(partition_map.keys(), output_target_files_temp_dir)

  output_zip = create_target_files_archive(output_target_files,