platform_build/tools/releasetools
Daniel Norman 1bd2a1d946 Adds --output-img flag to enable building the IMG package.
This simplifies the use case for mixed build users. Instead of having to
remember to call img_from_target_files.py after this script, they can
use this flag to automatically create the IMG package.

Also includes an update to super_empty.img logic. The super_empty.img is
now always created for dynamic-partition builds. The flag now only
controls copying the super_empty.img to a user-provided location.

Bug: 129976345
Test: Ran merge_target_files.py using --output-img and
--output-super-empty and inspected the resulting img zip and
super_empty.img.

Change-Id: Ida602942bb7a6b4b94f4e225640af9104fc9360c
2019-04-18 16:37:29 -07:00
..
testdata Pass the correct signature size to payload generator 2019-04-09 17:41:00 -07:00
add_img_to_target_files
add_img_to_target_files.py Merge "Adds optional --rebuild_recovery flag to merge_target_files." 2019-03-19 21:32:28 +00:00
Android.bp relesetools: Support running all the unittests with atest. 2019-04-12 15:26:32 -07:00
apex_utils.py releasetools: Add apex_utils.py. 2019-03-15 22:08:42 -07:00
blockimgdiff.py FileImage: make thread-safe 2019-04-12 15:38:48 -07:00
build_image.py Reland "Only assert-max-image-size for static partitions." 2019-04-09 10:56:34 -07:00
build_super_image.py Merge changes from topic "dap_size_check" 2019-04-09 02:17:36 +00:00
check_ota_package_signature.py releasetools: Switch to Python logging. 2018-10-17 07:51:04 -07:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py Revert^2 "releasetools: check_target_files_signatures.py checks APEXes." 2019-03-20 12:40:34 -07:00
common.py Allow generating OTA package from non-sparse images. 2019-04-11 14:38:21 -07:00
edify_generator.py releasetools: Track edify function API changes. 2018-08-29 11:53:19 -07:00
img_from_target_files
img_from_target_files.py Adds --output-img flag to enable building the IMG package. 2019-04-18 16:37:29 -07:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py releasetools: Switch to Python logging. 2018-10-17 07:51:04 -07:00
merge_target_files.py Adds --output-img flag to enable building the IMG package. 2019-04-18 16:37:29 -07:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py Allow generating OTA package from non-sparse images. 2019-04-11 14:38:21 -07: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-01-11 12:28:09 -08:00
pylintrc releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
rangelib.py releasetools: RangeSet.monotonic is not an optional attribute. 2018-02-06 16:00:52 -08:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py Stop using build/target -> build/make/target symlink 2019-04-09 21:35:37 -07:00
sparse_img.py sparse_img.py --get_partition_size return size of partition 2019-04-04 12:59:00 -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 relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_apex_utils.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_blockimgdiff.py Allow generating OTA package from non-sparse images. 2019-04-11 14:38:21 -07:00
test_build_image.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_common.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
TEST_MAPPING relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_merge_target_files.py Adds output-dir and output-item-list for copying only certain files. 2019-04-17 10:17:50 -07:00
test_ota_from_target_files.py releasetools: Enable a few tests in OtaFromTargetFilesTest. 2019-04-15 07:33:32 -07:00
test_rangelib.py releasetools: Add a common base class for unittests. 2018-10-11 23:01:09 -07:00
test_sign_target_files_apks.py Stop using build/target -> build/make/target symlink 2019-04-09 21:35:37 -07:00
test_utils.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_validate_target_files.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_verity_utils.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
validate_target_files.py releasetools: Re-enable verifying AVB-signed images. 2019-03-26 12:13:37 -07:00
verity_utils.py Merge "releasetools: Add tests for VerityImageBuilder." 2018-11-07 20:23:12 +00:00