platform_build/tools/releasetools
Tianjie Xu 88a759d651 Resign apks contained in apex
Some apex payload images contain apk files. And these apks need to be
signed during the signing processed when sign_target_files_apks is
called. To support the signing, we can extract the payload and repack
the apex file with the (de)apexer tool. Add the signing support in the
apex_util.

Bug: 146508800
Test: unit tests pass, run sign_apex, sign_target_files_apks
Change-Id: If6d58975248709a144b07dbabf47c27916e5695e
2020-01-27 19:48:39 +00:00
..
testdata Resign apks contained in apex 2020-01-27 19:48:39 +00:00
add_img_to_target_files
add_img_to_target_files.py releasetools: Fix the support for getting reproducible images. 2019-10-07 23:32:07 -07:00
Android.bp Reland "Move partition size checks to python script" 2019-11-01 11:41:26 -07:00
apex_utils.py Resign apks contained in apex 2020-01-27 19:48:39 +00:00
blockimgdiff.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
build_image.py build_image: Do not use base_fs file for system_other. 2019-12-04 21:28:42 +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 releasetools: Clean up additional modules for Python 3 compatibility. 2019-06-26 00:15:53 -07:00
check_partition_sizes.py Fix Virtual A/B size checks 2019-11-05 14:06:23 -08:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
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 system_ext to VINTF search paths. 2019-12-19 14:00:10 -08:00
common.py Resign apks contained in apex 2020-01-27 19:48:39 +00: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 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 Removes custom prefix/suffix from MergeDynamicPartitionInfoDicts. 2019-11-26 11:09:17 -08:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py Support Factory OTA for Virtual A/B devices 2019-11-04 15:14:26 -08:00
ota_package_parser.py Add a script to parse an block-based ota package 2017-05-09 21:01:19 +00:00
OWNERS releasetools: Update OWNERS. 2019-10-07 12:39:55 -07: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 Resign apks contained in apex 2020-01-27 19:48:39 +00:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py Resign apks contained in apex 2020-01-27 19:48:39 +00:00
sparse_img.py releasetools: Support verifying files with non-monotonic ranges. 2019-10-03 23:21:22 -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 Resign apks contained in apex 2020-01-27 19:48:39 +00: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_partition_sizes.py Fix Virtual A/B size checks 2019-11-05 14:06:23 -08:00
test_check_target_files_vintf.py releasetools: Fix releasetools_py3_test. 2019-10-06 23:29:34 -07:00
test_common.py Removes custom prefix/suffix from MergeDynamicPartitionInfoDicts. 2019-11-26 11:09:17 -08: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 Call delta_generator to get the signature size 2019-10-12 00:36:54 +00:00
test_rangelib.py releasetools: Add a common base class for unittests. 2018-10-11 23:01:09 -07:00
test_sign_apex.py Resign apks contained in apex 2020-01-27 19:48:39 +00:00
test_sign_target_files_apks.py Include per-partition fingerprint as AVB prop. 2019-10-09 21:25:19 -07:00
test_utils.py releasetools: Move MockScriptWriter into test_utils. 2019-10-07 20:00:34 -07:00
test_validate_target_files.py releasetools: Support verifying files with non-monotonic ranges. 2019-10-03 23:21:22 -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 AVB: decouple vbmeta.img from recovery.img for non-A/B devices 2019-10-10 14:28:34 +00:00
verity_utils.py releasetools: Make verity_utils Python 3 compatible. 2019-06-24 21:07:19 -07:00