platform_build/tools
Tao Bao c96316c89b Revert "Revert "releasetools: Generate streamable A/B OTA packages.""
This reverts commit ea4325baf8 to re-land
commit ef1bb4360f. It fixes the bug when
handling a package without care_map.txt (e.g. dm-verity not enabled).

In order to support streaming A/B OTA packages, we pack
payload_properties.txt and care_map.txt in ZIP_STORED mode. These two
entries along with payload.bin (already in ZIP_STORED prior to this CL)
can be fetched directly based on the offset and length info.

We write the offset and length info into the package metadata entry
(META-INF/com/android/metadata), which can be parsed by the OTA server.

payload_properties.txt and care_map.txt are usually less than 1-KiB. So
the change only incurs marginal size increase.

Bug: 33382114
Test: Generate an A/B OTA package. Verify the 'streaming-property-files'
      entry in the metadata file.
Test: Generate an A/B OTA package on a device with dm-verity not enabled.

Change-Id: I3469c8b62385a1fc58b4fb82e3f9d4690aef52ba
2017-01-24 22:27:02 -08:00
..
acp Switch some build tools to Soong 2016-06-06 14:51:52 -07:00
apicheck Ensure prebuilt executables are executable 2016-04-11 11:21:47 -07:00
atree Fix clang-tidy performance warnings. 2016-07-27 10:28:33 -07:00
droiddoc Merge "Creates a css nowrap class for non-breaking elements in source.android.com Test: build2stage 36" 2016-11-09 21:29:57 +00:00
fs_config fsconfig: fix pylint warning 2017-01-04 18:22:05 +00:00
fs_get_stats fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
ijar Use more prebuilt build-tools 2016-06-14 13:50:38 -07:00
libhost Remove build/libs 2016-06-16 14:52:47 -07:00
makeparallel Don't pass empty arguments to ninja 2017-01-18 21:12:28 -08:00
releasetools Revert "Revert "releasetools: Generate streamable A/B OTA packages."" 2017-01-24 22:27:02 -08:00
signapk Faster auto-detection of APK's minSdkVersion 2016-12-14 12:53:44 -08:00
signtos
zipalign zipalign missing header 2016-10-17 12:22:44 -07:00
ziptime Switch some build tools to Soong 2016-06-06 14:51:52 -07:00
adbs
Android.mk Remove unneccessary TARGET_BUILD_APPS conditional 2015-12-15 15:49:53 -08:00
brillo-clang-format Include Brillo's cannonical .clang-format file. 2016-02-16 14:29:45 -08:00
buildinfo.sh Add ro.build.ab_update property. 2015-11-19 18:42:52 +00:00
check_builds.sh
check_link_type.py Fix link_type checking 2016-09-15 14:40:39 -07:00
check_radio_versions.py
compare_fileslist.py
dump-package-stats
event_log_tags.py
fat16copy.py fat16copy: Fix allocation logic when extending directories. 2016-09-23 14:21:43 -07:00
fileslist.py build: tools: Add json collection of installed files with hashes. 2016-10-14 16:29:16 -07:00
fileslist_util.py build: tools: Add json collection of installed files with hashes. 2016-10-14 16:29:16 -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-notice-files.py Create reproducible NOTICE collections 2015-11-10 12:37:23 -08:00
java-event-log-tags.py Add float support to binary event log. 2015-04-28 18:21:09 -07:00
java-layers.py
kati_all_products.sh Add tool to run kati for all products 2016-10-05 14:04:21 -07:00
merge-event-log-tags.py
mktarball.sh fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
normalize_path.py Normalize the product makefile path in inherit-product. 2015-10-28 15:20:41 -07:00
parsedeps.py
post_process_props.py Do not add 'adb' to persist.sys.usb.config if already there 2015-05-29 07:46:40 +00:00
print_module_licenses.sh
product_debug.py Remove support of factory ramdisk/bundle. 2015-02-04 11:00:01 -08:00
soong_to_convert.py Identify modules ready to be converted to Soong 2016-08-26 13:33:31 -07:00
warn.py Update warn.py for new Error Prone diagnostics 2016-11-22 10:35:07 -08:00