platform_build/tools/releasetools
David Anderson 009d6f8c73 build_image: Query the actual image size after invoking the final mkfs.
It's not guaranteed that the requested image size to mkfs is precisely
respected, due to metadata alignment and such. For accurate care maps
use the real image size rather than requested.

Bug: 205541521
Test: smartsync to 7892270, check that care_map.pb has the right block
      count
Change-Id: I60fe64f720db13d3c3c4f1d8968341d7293217c9
2021-11-30 15:13:56 -08:00
..
testdata Removing AFTL integration from release tools. 2021-06-29 12:38:59 +00:00
add_img_to_target_files
add_img_to_target_files.py Fix aosp_x86_64-user build failure 2021-09-27 14:11:14 +08:00
Android.bp Add fsverity digest manifest 2021-11-11 11:19:44 +00:00
apex_utils.py Support custom APEX signing tool 2021-10-27 16:56:22 +09:00
blockimgdiff.py Update language to comply with Android’s inclusive language guidance 2020-07-28 15:43:15 -04:00
build_image.py build_image: Query the actual image size after invoking the final mkfs. 2021-11-30 15:13:56 -08:00
build_super_image.py Simplify codes for BuildSuperImage func 2021-04-23 19:58:40 +08:00
care_map_pb2.py Handle caremap for partial OTAs 2021-06-04 16:17:32 -04: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 Check super size for factory OTA at build time 2021-05-13 17:41:52 -07: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 Prepare release tools for python 3 2021-11-04 17:58:44 -07:00
common.py Fix signapk not found error when running ota_from_target_files locally 2021-11-19 11:34:54 -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
fsverity_metadata_generator.py Add fsverity digest manifest 2021-11-11 11:19:44 +00: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 More accurate error if input_file is not exists 2021-04-21 16:41:58 +08:00
jarjar-rules.txt Add ota_metadata_proto_java 2021-05-05 09:08:12 -04: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 Support for dexopt postprocessing in merge_target_files. 2021-07-22 13:39:10 -07: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 Fix signapk not found error when running ota_from_target_files locally 2021-11-19 11:34:54 -08:00
ota_metadata.proto Amend the apex info for ota package 2021-06-07 20:33:46 -07:00
ota_metadata_pb2.py Add spl-downgrade field to ota metadata 2021-02-25 10:15:45 -05:00
ota_package_parser.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
ota_utils.py Prepare release tools for python 3 2021-11-04 17:58:44 -07:00
OWNERS Amend owner files for releasetool scripts 2021-07-21 16:10:53 -07:00
pylintrc
rangelib.py releasetools: Make rangelib Python 3 compatibile. 2019-06-19 10:30:34 -07:00
sign_apex.py sign_apex --sign_tool 2021-10-27 16:56:22 +09:00
sign_target_files_apks
sign_target_files_apks.py Support custom APEX signing tool 2021-10-27 16:56:22 +09:00
sparse_img.py Preserve the monotonic property when subtracting 0 block 2020-02-27 13:24:11 -08:00
target_files_diff.py Fix python3 incompatiable code 2021-11-09 23:37:11 -08:00
test_add_img_to_target_files.py Moves care map generation logic to common.py, so it can be reused. 2021-04-13 11:42:26 -07:00
test_apex_utils.py sign_apex --sign_tool 2021-10-27 16:56:22 +09: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 fix releasetools_test 2021-10-27 16:06:10 +09:00
test_check_partition_sizes.py Check super size for factory OTA at build time 2021-05-13 17:41:52 -07: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 Removing AFTL integration from release tools. 2021-06-29 12:38:59 +00:00
test_merge_target_files.py Regenerate odm or vendor using combined sepolicy if --rebuild-sepolicy. 2021-07-01 16:29:15 -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 Add apex info to the streaming property file 2021-06-10 14:44:26 -07:00
test_ota_utils.py Fix a bug in computing streaming property of payload.bin 2021-07-28 11:40:18 -04:00
test_rangelib.py
test_sign_apex.py fix releasetools_test 2021-10-27 16:06:10 +09:00
test_sign_target_files_apks.py Support custom APEX signing tool 2021-10-27 16:56:22 +09: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 Calculate the vbmeta digest when building images 2021-05-05 18:04:51 +00:00
validate_target_files.py Fix a failure in signing test 2021-11-03 21:43:22 -07:00
verity_utils.py Calculate the vbmeta digest when building images 2021-05-05 18:04:51 +00:00