Merge "Copy vendor & odm .map files when using vendor_otatools" am: 6b3e5294db
Original change: https://android-review.googlesource.com/c/platform/build/+/2030363 Change-Id: I8109c06a42176847c1720e68ceb64195cb986cec
This commit is contained in:
@@ -1341,8 +1341,10 @@ def BuildVendorPartitions(output_zip_path):
|
|||||||
output_zip_path, "a", compression=zipfile.ZIP_DEFLATED,
|
output_zip_path, "a", compression=zipfile.ZIP_DEFLATED,
|
||||||
allowZip64=True) as output_zip:
|
allowZip64=True) as output_zip:
|
||||||
for p in OPTIONS.vendor_partitions:
|
for p in OPTIONS.vendor_partitions:
|
||||||
path = "IMAGES/{}.img".format(p)
|
img_file_path = "IMAGES/{}.img".format(p)
|
||||||
common.ZipWrite(output_zip, os.path.join(vendor_tempdir, path), path)
|
map_file_path = "IMAGES/{}.map".format(p)
|
||||||
|
common.ZipWrite(output_zip, os.path.join(vendor_tempdir, img_file_path), img_file_path)
|
||||||
|
common.ZipWrite(output_zip, os.path.join(vendor_tempdir, map_file_path), map_file_path)
|
||||||
|
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
|
Reference in New Issue
Block a user