platform_build/tools
Tao Bao bcd1d161e8 Add compatibility metadata for Treble-enabled non-A/B OTA packages.
Commit 21803d3574 only added compatibility
metadata for A/B OTA packages, because by that time we didn't use
'ro.treble.enabled' property to determine if a target was Treble-enabled.

This CL uses 'ro.treble.enabled' to guard the packing of compatibility
metadata for both of A/B and non-A/B OTA packages. It also switches to
checking the system/vendor fingerprints to determine if there's an
update to the partition (previously it was computing the SHA-1 of the
images, which may have unintentionally changed due to issues that give
non-repetitive builds).

Bug: 64339310
Test: Generate OTA packages (full and incremental) on Treble-enabled
      targets (sailfish, as well as a non-A/B angler target with
      Treble-enabled locally); check that the compatibility.zip entry
      exists.
Test: Generate OTA packages on Treble-unenabled non-A/B target (angler);
      check that the compatibility.zip entry doesn't exist.
Test: Generate OTA packages on Treble-unenabled A/B target; check that
      the compatibility.zip entry doesn't exist.

Change-Id: I2a1fcf612439d849ba8ccea217a0faf5d5ba8e14
2017-08-28 15:19:44 -07:00
..
acp Switch some build tools to Soong 2016-06-06 14:51:52 -07:00
apicheck
atree Fix clang-tidy performance warnings. 2016-07-27 10:28:33 -07:00
droiddoc Delete all of templates-sdk/. 2017-03-27 17:23:36 +00:00
fs_config Android.mk: clear variable at end of use 2017-05-19 20:14:27 +00:00
fs_get_stats
ijar Use more prebuilt build-tools 2016-06-14 13:50:38 -07:00
libhost Merge \\\\"Remove build/libs\\\\" am: fcb8a89c3b am: 3c48705b9b am: 947c5715f8 2016-06-17 18:23:07 +00:00
makeparallel Wait for children to exit in makeparallel 2017-02-21 17:53:35 -08:00
releasetools Add compatibility metadata for Treble-enabled non-A/B OTA packages. 2017-08-28 15:19:44 -07:00
signapk Don't include the dev-key on IOT products. 2017-04-03 15:04:35 -07:00
signtos
zipalign fallout of cleaning-up libutils includes 2017-03-03 12:37:34 -08:00
ziptime Switch some build tools to Soong 2016-06-06 14:51:52 -07:00
adbs
Android.mk Remove the need to find Android.mk files via directory symlinks 2017-08-07 14:21:20 -07:00
brillo-clang-format
buildinfo.sh Split board-specific system properties into vendor partition 2017-02-27 13:35:37 +09:00
check_builds.sh
check_link_type.py Fix link_type checking 2016-09-15 14:40:39 -07:00
check_radio_versions.py
checkowners.py Encode special characters in email addresses. 2017-04-05 14:16:49 -07:00
compare_fileslist.py
dump-package-stats
event_log_tags.py
fat16copy.py fat16copy: Allow to copy files to an existing directory. 2017-02-13 16:00:07 +00:00
fileslist_util.py build: tools: Add json collection of installed files with hashes. 2016-10-20 10:07:13 -07:00
filter-product-graph.py
findleaves.py findleaves.py: prevent recursion into symlink loops 2016-11-03 14:29:40 -07:00
fixlinebreaks.sh
generate-enforce-rro-android-manifest.py Enforce RROs for all the build-time ROs 2017-03-30 10:43:38 +09:00
generate-notice-files.py Split vendor license notices into vendor partition 2017-05-01 22:07:50 +00:00
java-event-log-tags.py
java-layers.py
merge-event-log-tags.py
mktarball.sh
normalize_path.py
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
parsedeps.py
post_process_props.py Merge "There's no longer a limit on property names." am: dda91dbef8 am: daac92eb51 2017-02-28 20:22:56 +00:00
print_module_licenses.sh
product_debug.py
soong_to_convert.py Remove DBus support. 2017-03-02 18:00:21 -08:00
vendor_buildinfo.sh Split board-specific system properties into vendor partition 2017-02-27 13:35:37 +09:00
warn.py Find target keywords in the first 100 lines. 2017-06-07 23:17:13 +00:00