From c007495502d718f3aa90ba53b744aa4241bc7539 Mon Sep 17 00:00:00 2001 From: Lucchetto Date: Sun, 30 Sep 2018 22:27:44 +0200 Subject: [PATCH] build: Remove compatibility.zip Change-Id: I5c005f14e52f2c7b5f4ac293151d8724e8d4756a --- tools/releasetools/ota_from_target_files.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index 4bbc2e489a..1abb228087 100755 --- a/tools/releasetools/ota_from_target_files.py +++ b/tools/releasetools/ota_from_target_files.py @@ -1035,8 +1035,6 @@ def GetBlockDifference(partition): progress=progress_dict.get(block_diff.partition), write_verify_script=OPTIONS.verify) - AddCompatibilityArchiveIfTrebleEnabled(input_zip, output_zip, target_info) - boot_img = common.GetBootableImage( "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT") common.CheckSize(boot_img.data, "boot.img", target_info) @@ -1677,9 +1675,6 @@ def WriteBlockIncrementalOTAPackage(target_zip, source_zip, output_file): else: vendor_diff = None - AddCompatibilityArchiveIfTrebleEnabled( - target_zip, output_zip, target_info, source_info) - # Assertions (e.g. device properties check). target_info.WriteDeviceAssertions(script, OPTIONS.oem_no_mount) device_specific.IncrementalOTA_Assertions() @@ -2198,9 +2193,6 @@ def WriteABOTAPackageWithBrilloScript(target_file, output_file, else: logger.warning("Cannot find care map file in target_file package") - AddCompatibilityArchiveIfTrebleEnabled( - target_zip, output_zip, target_info, source_info) - common.ZipClose(target_zip) # We haven't written the metadata entry yet, which will be handled in