platform_build/tools
Tao Bao cc8e2666ac releasetools: Create StreamingPropertyFiles class.
This CL breaks down ComputeStreamingMetadata() into mutiple member
functions of StreamingPropertyFiles class, which correspond to the
two-pass logic when generating streaming property files (aka streaming
metadata).

StreamingPropertyFiles.Compute() does the work for the first pass, by
putting placeholders before doing initial signing. Finalize()
corresponds to the second pass, where the placeholders get replaced with
actual data. Verify() can be optionally called to assert the correctness
of the work.

The separation between Compute() and Finalize() is to allow having
multiple StreamingPropertyFiles instances (in coming up CLs). This way
we can call Compute() multiple times for each instance, followed by only
one call to SignOutput(). And similarly for Finalize().

Bug: 74210298
Test: Generate an A/B OTA package. Check the METADATA entry.
Test: python -m unittest test_ota_from_target_files
Change-Id: I45be0372a4863c4405e6d8e20bcb9ccdc29e7e11
(cherry picked from commit ae5e4c30fe)
2018-03-09 13:44:13 -08:00
..
acp Use -Werror in build/make 2017-10-03 13:53:13 -07:00
apicheck PDK fix. Remove conditional that stops component from being in PDK. 2017-11-06 11:57:06 -08:00
atree Use -Werror in build/make 2017-10-03 13:53:13 -07:00
docker Add Docker instructions for older branches 2018-02-15 18:17:46 -08:00
droiddoc Merge "Replace build/tools with build/make/tools" am: 973301af79 am: e6dc6b2026 2017-12-13 03:03:47 +00:00
fs_config Merge "Make mksquashfs generate a fs_config-friendly root entry" 2018-02-27 16:24:21 +00:00
fs_get_stats Use -Werror in build/make 2017-10-03 13:53:13 -07:00
libhost Fix / suppress warnings for clang+mingw 2017-11-29 20:54:33 -08:00
makeparallel Add -lm to the default libs for Linux & Darwin 2017-09-26 20:26:11 -07:00
releasetools releasetools: Create StreamingPropertyFiles class. 2018-03-09 13:44:13 -08:00
signapk Convert signapk to Android.bp 2017-11-09 15:11:34 -08:00
signtos Convert signtos to Android.bp 2017-11-21 03:26:31 +00:00
zipalign zipalign: Fix build failure in static_sdk_tools. 2017-11-06 11:12:08 -08:00
ziptime Use -Werror in build/make 2017-10-03 13:53:13 -07:00
Android.mk Remove the need to find Android.mk files via directory symlinks 2017-08-07 14:21:20 -07:00
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
auto_gen_test_config.py Default test to AndroidJUnitTest for auto-generated test config. 2018-02-21 11:31:06 -08:00
auto_gen_test_config_test.py Default test to AndroidJUnitTest for auto-generated test config. 2018-02-21 11:31:06 -08:00
brillo-clang-format Include Brillo's cannonical .clang-format file. 2016-02-16 14:29:45 -08:00
buildinfo.sh Add PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION 2017-12-11 10:45:45 +00:00
check_builds.sh Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
check_link_type.py Fix link_type checking 2016-09-15 14:40:39 -07:00
check_radio_versions.py
checkowners.py Accept alternative email addresses. 2017-09-07 13:07:26 -07:00
compare_fileslist.py
dump-package-stats Ignore zip comments in dump-package-stats 2017-10-03 18:57:18 -07:00
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 Silence superfluous build messages. 2017-11-15 10:34:01 -08:00
java-event-log-tags.py Allow converting logtags to java without merged logtags file 2017-11-16 14:58:05 -08:00
java-layers.py
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 Merge "Allow ro. properties to have arbitrary lengths" 2017-10-17 22:42:04 +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 Add java modules to soong_to_convert.txt 2017-12-06 15:38:52 -08:00
vendor_buildinfo.sh Rename ro.vendor.product.* to ro.product.vendor.* 2017-11-01 10:11:32 +09:00
warn.py Warn.py: Update errorprone categories 2018-01-25 12:25:20 -08:00