platform_build/tools/releasetools
Tao Bao 3e759462d9 releasetools: Remove more images out of secondary payload.
This CL additionally removes boot/dtbo/modem/vbmeta_* images out of
secondary payload. We essentially only keep system_other.img and
bootloader images there.

For Pixel devices, this additionally saves ~80MiB (mostly because of
the removal of boot and radio images).

Bug: 140771390
Test: ota_from_target_files \
          --include_secondary --skip_postinstall \
          -i input-target_files-1.zip \
          input-target_files-2.zip \
          output-ota.zip
Test: python -m unittest test_ota_from_target_files
Change-Id: If47b27c52b3547a4cc86223a988c53960bc6af40
2019-09-17 22:56:19 -07:00
..
testdata releasetools: add tests for check_target_files_vintf 2019-08-28 11:02:26 -07:00
add_img_to_target_files
add_img_to_target_files.py Adds support for optionally generating vbmeta.img in merge_builds. 2019-08-02 20:13:03 +00:00
Android.bp Merge "releasetools: add dep to checkvintf" 2019-09-04 17:53:30 -07:00
apex_utils.py Add a guard against deleting AVB_PUBKey. 2019-08-25 22:01:45 -07:00
blockimgdiff.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
build_image.py Build build_image and build_super_image as modules. 2019-07-18 10:27:38 -07:00
build_super_image.py sparse_img.py --get_partition_size return size of partition 2019-04-11 10:12:27 -07:00
check_ota_package_signature.py releasetools: Clean up additional modules for Python 3 compatibility. 2019-06-26 00:15:53 -07:00
check_target_files_signatures
check_target_files_signatures.py Switch to aapt2 for getting minSdkVersion 2019-07-19 20:26:42 +00:00
check_target_files_vintf.py Add a script to check VINTF compat of target files package. 2019-08-28 11:02:26 -07:00
common.py Merge "Consider search_path to locate avb_*_key_path files" 2019-08-26 12:21:24 -07:00
edify_generator.py releasetools: Track edify function API changes. 2018-08-29 11:53:19 -07:00
images.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
img_from_target_files
img_from_target_files.py releasetools: img_from_target_files uses zip2zip. 2019-08-28 16:36:25 -07:00
make_recovery_patch.py Move make_recovery_path and sparse_img to modules. 2019-08-06 23:27:48 -07:00
merge_builds.py Adds support for optionally generating vbmeta.img in merge_builds. 2019-08-02 20:13:03 +00:00
merge_target_files.py merge_target_files: Checks VINTF metadata of resulting target files 2019-08-28 11:02:26 -07:00
ota_from_target_files
ota_from_target_files.py releasetools: Remove more images out of secondary payload. 2019-09-17 22:56:19 -07:00
ota_package_parser.py
OWNERS releasetools: Update OWNERS. 2019-01-11 12:28:09 -08:00
pylintrc releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
rangelib.py releasetools: Make rangelib Python 3 compatibile. 2019-06-19 10:30:34 -07:00
sign_apex.py releasetools: Prefer the avbtool specified in target_files. 2019-06-26 17:18:48 -07:00
sign_target_files_apks
sign_target_files_apks.py Also install verity_key to ramdisk for non-system-as-root target. 2019-09-17 08:53:16 -07:00
sparse_img.py Move make_recovery_path and sparse_img to modules. 2019-08-06 23:27:48 -07:00
target_files_diff.py Remove ro.expect.recovery_id 2019-01-28 10:56:37 -08:00
test_add_img_to_target_files.py Adds support for optionally generating vbmeta.img in merge_builds. 2019-08-02 20:13:03 +00:00
test_apex_utils.py releasetools: Prefer the avbtool specified in target_files. 2019-06-26 17:18:48 -07:00
test_blockimgdiff.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
test_build_image.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_check_target_files_vintf.py releasetools: add tests for check_target_files_vintf 2019-08-28 11:02:26 -07:00
test_common.py Adds support for optionally generating vbmeta.img in merge_builds. 2019-08-02 20:13:03 +00:00
TEST_MAPPING Additionally run releasetools_test with Python 3. 2019-07-09 05:14:31 +00:00
test_merge_target_files.py Adds new merge builds script for use in merging two non-dist builds. 2019-07-29 16:30:56 +00:00
test_ota_from_target_files.py releasetools: Remove more images out of secondary payload. 2019-09-17 22:56:19 -07:00
test_rangelib.py releasetools: Add a common base class for unittests. 2018-10-11 23:01:09 -07:00
test_sign_apex.py releasetools: Prefer the avbtool specified in target_files. 2019-06-26 17:18:48 -07:00
test_sign_target_files_apks.py Merge "releasetools: Fix the use of StringIO." 2019-07-25 09:55:09 -07:00
test_utils.py releasetools: Add FORCE_RUN_RELEASETOOLS. 2019-08-01 12:22:54 -07:00
test_validate_target_files.py Also install verity_key to ramdisk for non-system-as-root target. 2019-09-17 08:53:16 -07:00
test_verity_utils.py releasetools: Make verity_utils Python 3 compatible. 2019-06-24 21:07:19 -07:00
validate_target_files.py Also install verity_key to ramdisk for non-system-as-root target. 2019-09-17 08:53:16 -07:00
verity_utils.py releasetools: Make verity_utils Python 3 compatible. 2019-06-24 21:07:19 -07:00