platform_build/tools/releasetools
Tao Bao cb73aed1f0 releasetools: Refactor the condition checking for using imgdiff.
In Transfer class, unbundle 'intact' with the monotonicity of the input
ranges. Negate the logic of 'intact', and thus rename it to 'trimmed'.
Move this property from an attribute of Transfer class as the one in
RangeSet.extra. 'trimmed' indicates whether the source / target ranges
have been modified after creating the Transfer() instance.

The logic that determines whether we can apply imgdiff has been
refactored and consolidated into BlockImageDiff.CanUseImgdiff(). Now
both of the two paths call this single copy, i.e. the one that detects
large APKs (before creating Transfer()'s), and the other that's about to
generate the patch for a given Transfer instance.

Bug: 68016761
Test: python -m unittest test_blockimgdiff
Test: Generate an incremental BBOTA package.
Change-Id: Id07195f63f1fa6c3af6e9091940d251cf09fa104
2018-02-09 12:46:01 -08:00
..
testdata releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
add_img_to_target_files
add_img_to_target_files.py releasetools: Move the AVB salt setup into common.LoadInfoDict(). 2018-01-31 12:25:10 -08:00
blockimgdiff.py releasetools: Refactor the condition checking for using imgdiff. 2018-02-09 12:46:01 -08:00
build_image.py Support /product partition 2018-01-25 09:33:58 +09:00
check_ota_package_signature.py releasetools: Capture stderr output when calling delta_generator. 2018-02-05 23:39:23 -08:00
check_target_files_signatures
check_target_files_signatures.py releasetools: Add a note for the ZipInfo._decodeExtra() workaround. 2018-01-17 10:10:00 -08:00
common.py releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
edify_generator.py releasetools: Add a BuildInfo class. 2018-01-09 15:08:23 -08:00
img_from_target_files
img_from_target_files.py Remove the obsolete logic in img_from_target_files.py. 2017-05-31 11:17:56 -07:00
make_recovery_patch
make_recovery_patch.py releasetools: Replace print stmt with print(). 2017-01-13 14:55:14 -08:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py releasetools: Support packaging secondary payload. 2018-02-05 13:28:52 -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 Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
pylintrc releasetools: Remove deprecated pylint options. 2017-12-04 12:15:23 -08:00
rangelib.py releasetools: RangeSet.monotonic is not an optional attribute. 2018-02-06 16:00:52 -08:00
sign_target_files_apks
sign_target_files_apks.py releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
sparse_img.py Protect SparseImage._GetRangeData() with lock 2018-01-29 11:52:10 -08:00
target_files_diff.py target_files_diff: Fix the issue with file type change. 2016-04-25 18:35:20 +00:00
test_add_img_to_target_files.py releasetools: Refactor AddImagesToTargetFiles(). 2018-01-18 23:37:23 -08:00
test_blockimgdiff.py releasetools: Refactor the condition checking for using imgdiff. 2018-02-09 12:46:01 -08:00
test_build_image.py releasetools: Move assertions into CheckHeadroom(). 2018-01-03 11:52:16 -08:00
test_common.py releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
test_ota_from_target_files.py releasetools: Support packaging secondary payload. 2018-02-05 13:28:52 -08:00
test_rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00
test_sign_target_files_apks.py releasetools: Clean up ReplaceVerityKeyId and add tests. 2018-01-02 12:29:31 -08:00
test_utils.py releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
validate_target_files.py releasetools: Detect incomplete block ranges. 2018-02-01 12:35:48 -08:00