platform_build/tools/releasetools
Tao Bao 2f5358d38b releasetools: Fix the bug that skips loading OEM dict.
The CL in [1] unintentionally breaks the OEM dict loading logic in the
incremental BBOTA path. We should always require and load the OEM
property dict if _either_ of the source and target builds uses OEM
properties. Otherwise with the current "and" operator, it skips loading
the OEM property dict and thus fails to generate an OTA package that has
OEM property changes (e.g. updating from build with fingerprint to
another one using thumbprint).

The CL in [1] actually makes the right change in the file-based OTA
path, but introduces the bug in the block-based OTA path.

This CL also cleans up the line that reads recovery_mount_options.

[1] commit 7f804ba71f ("releasetools:
allow for multiple OEM property values.").

Test: Genearte an OTA that has OEM property changes successfully.
Change-Id: Idce4ad59825d432618535ce09ab22bd7ddc524f2
2017-12-20 23:06:02 -08:00
..
add_img_to_target_files store images in target-files 2014-07-31 11:06:30 -07:00
add_img_to_target_files.py releasetools: Add common.ZipDelete(). 2017-12-14 17:17:04 -08:00
blockimgdiff.py Improve the comment in AddSplitTransfers 2017-11-22 11:35:18 -08:00
build_image.py Merge "build_image: Factor out CheckHeadroom() and add tests." 2017-12-19 00:00:41 +00:00
check_ota_package_signature.py releasetools: Use delta_generator to verify payload signatures. 2017-12-15 12:45:09 -08:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py releasetools: Add support for compressed APKs. 2017-08-21 13:21:20 +01:00
common.py releasetools: Add common.ZipDelete(). 2017-12-14 17:17:04 -08:00
edify_generator.py Fix the broken script in AssertFingerprintOrThumbprint. 2017-06-05 12:27:52 -07:00
img_from_target_files Allow to build the update.zip for emulator build. 2014-06-04 17:04:14 +00:00
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 releasetools pylint clean. 2015-03-24 11:05:16 -07:00
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: Fix the bug that skips loading OEM dict. 2017-12-20 23:06:02 -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: Fix the doctest for rangelib.py. 2017-11-02 12:19:36 -07:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py releasetools: Fix the tag replacement for ro.build.vendor.fingerprint. 2017-12-08 15:19:47 -08:00
sparse_img.py releasetools: Reduce memory footprint for BBOTA generation. 2017-03-06 08:46:30 -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_blockimgdiff.py Fix unittest for blockimgdiff 2017-03-24 16:28:16 -07:00
test_build_image.py build_image: Factor out CheckHeadroom() and add tests. 2017-12-07 23:39:56 -08:00
test_common.py releasetools: Add common.ZipDelete(). 2017-12-14 17:17:04 -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: Fix the tag replacement for ro.build.vendor.fingerprint. 2017-12-08 15:19:47 -08:00
validate_target_files.py Skip checking files that have less blocks in block map. 2017-09-08 11:22:59 -07:00