platform_build/tools/releasetools
Mohammad Samiul Islam 9fd5886e23 Create a function that can generate ApexInfo using target-files
If an OTA contains compressed APEX inside it, then the device will need
to allocate space on /data partition for their decompression. In order
to calculate how much space the OTA process needs to allocate, the
process needs more information about the APEX contained inside the OTA.

In this CL, we are adding functionality to the OTA generation script
that allows us to gather information about the APEX stored inside the
target-file zip. However, we did not integrate the new functionality
with the ota_from_target_files.py scrip yet. That will be done on follow
up CL.

Bug: 172911822
Test: atest releasetools_py3_test
Change-Id: I2ac42018f628c2c21527b3e086be1f4e7e7247ad
2021-01-22 20:13:32 -05:00
..
testdata Fix some wording to comply with respectful-code 2020-07-23 10:04:12 -04:00
add_img_to_target_files
add_img_to_target_files.py Ensure file permissions are writable before attempting to sign. 2020-12-08 10:03:34 +00:00
Android.bp Create a function that can generate ApexInfo using target-files 2021-01-22 20:13:32 -05:00
apex_utils.py Create a function that can generate ApexInfo using target-files 2021-01-22 20:13:32 -05:00
blockimgdiff.py Update language to comply with Android’s inclusive language guidance 2020-07-28 15:43:15 -04:00
build_image.py Merge "Enable system partition compression" 2020-12-10 00:41:04 +00:00
build_super_image.py releasetools: Pass --virtual-ab to lpmake. 2019-12-16 22:17:28 +00:00
check_ota_package_signature.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
check_partition_sizes.py Fix Virtual A/B size checks 2019-11-05 14:06:23 -08:00
check_target_files_signatures
check_target_files_signatures.py Use apksigner in check_target_files_signatures 2020-07-14 21:48:48 -07:00
check_target_files_vintf.py Pass kernel version file to check_vintf. 2020-11-13 18:45:03 -08:00
common.py GetBootImageBuildProp returns None if file does not exist 2021-01-12 11:27:55 -08:00
edify_generator.py Fix some wording to comply with respectful-code 2020-07-23 10:04:12 -04:00
find_shareduid_violation.py Finds APK shared UID violations when merging target files. 2020-10-29 09:33:26 -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 Revert "Revert "Add prebuilt bootloader var and add bootloader t..." 2020-08-27 13:18:24 -07:00
make_recovery_patch.py Moving recovery resources from /system to /vendor 2019-10-04 00:04:34 +00:00
merge_builds.py Removes custom prefix/suffix from MergeDynamicPartitionInfoDicts. 2019-11-26 11:09:17 -08:00
merge_target_files.py Runs host_init_verifier on merged target files packages. 2020-11-24 17:26:27 +00:00
non_ab_ota.py Define the protobuf for OTA metadata 2020-08-26 16:17:35 -07:00
ota_from_target_files
ota_from_target_files.py Add --disable_verity_computation option to ota script 2020-11-23 13:24:34 -05:00
ota_metadata.proto Create a function that can generate ApexInfo using target-files 2021-01-22 20:13:32 -05:00
ota_metadata_pb2.py Add ota_metadata_pb2 to otatools.zip 2020-09-01 16:58:08 -04:00
ota_package_parser.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
ota_utils.py Split PARTITIONS_WITH_BUILD_PROP from *_WITH_CARE_MAP 2021-01-07 17:20:22 -08:00
OWNERS Add elsk to the owner of scripts 2020-04-28 14:56:01 -07:00
pylintrc
rangelib.py releasetools: Make rangelib Python 3 compatibile. 2019-06-19 10:30:34 -07:00
sign_apex.py Allow passing in codename_to_api_level_map to sign_apex. 2020-05-01 13:56:04 +00:00
sign_target_files_apks
sign_target_files_apks.py Merge "sign_target_files_apks: Fix password encrypted keys handle" 2020-10-20 21:45:54 +00:00
sparse_img.py Preserve the monotonic property when subtracting 0 block 2020-02-27 13:24:11 -08:00
target_files_diff.py
test_add_img_to_target_files.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
test_apex_utils.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04: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
test_check_partition_sizes.py Fix Virtual A/B size checks 2019-11-05 14:06:23 -08:00
test_check_target_files_vintf.py Update language to comply with Android's inclusive language guidance 2020-07-29 12:06:00 -07:00
test_common.py Runs host_init_verifier on merged target files packages. 2020-11-24 17:26:27 +00:00
test_merge_target_files.py Formatting and general cleanup of merge_target_files. 2020-10-22 16:37:13 -07:00
test_non_ab_ota.py Define the protobuf for OTA metadata 2020-08-26 16:17:35 -07:00
test_ota_from_target_files.py Create a function that can generate ApexInfo using target-files 2021-01-22 20:13:32 -05:00
test_rangelib.py
test_sign_apex.py Resign apks contained in apex 2020-01-27 19:48:39 +00:00
test_sign_target_files_apks.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
test_utils.py Create a function that can generate ApexInfo using target-files 2021-01-22 20:13:32 -05:00
test_validate_target_files.py Fix errors from validate_target_files 2021-01-12 14:04:58 -08:00
test_verity_utils.py Update language to comply with Android's inclusive language guidance 2020-07-29 12:06:00 -07:00
validate_target_files.py Fix errors from validate_target_files 2021-01-12 14:04:58 -08:00
verity_utils.py Add options to sign the prebuilt custom images. 2020-05-21 22:22:19 +00:00