platform_build/tools
Tao Bao b937ead5d9 releasetools: Work around the issue with mke2fs created images.
When generating block based OTAs, we read files from the sparse image
directly with the help of block map file. However, the block map info
might not be accurate if the image is created with mke2fs. Because
mke2fs may skip allocating actual blocks if they contain all zeros.
ota_from_target_files.py consequently passes incomplete APK files to
imgdiff, which fails to generate patches.

This CL works around the issue by falling back from imgdiff to bsdiff on
failures. We should figure out a better way in b/68016761 to remove the
workaround, which would otherwise hide other issues in imgdiff.

Bug: 67824829
Bug: 68016761
Test: ota_from_target_files.py passes on previously failing TF zips.
Change-Id: Ib24c5b5f89812b97a0c87c6bf0dc147ae39bc92f
2017-10-19 16:56:22 -07:00
..
acp Use -Werror in build/make 2017-10-03 13:53:13 -07:00
apicheck Ensure prebuilt executables are executable 2016-04-11 11:21:47 -07:00
atree Use -Werror in build/make 2017-10-03 13:53:13 -07:00
droiddoc Delete all of templates-sdk/. 2017-03-27 17:23:36 +00:00
fs_config Convert to Android.bp 2017-09-09 13:47:34 -07:00
fs_get_stats Use -Werror in build/make 2017-10-03 13:53:13 -07:00
libhost Merge \\\\"Remove build/libs\\\\" am: fcb8a89c3b am: 3c48705b9b am: 947c5715f8 2016-06-17 18:23:07 +00:00
makeparallel Add -lm to the default libs for Linux & Darwin 2017-09-26 20:26:11 -07:00
releasetools releasetools: Work around the issue with mke2fs created images. 2017-10-19 16:56:22 -07:00
signapk Follow renames of conscrypt and bouncycastle to remove -host suffix 2017-10-17 15:27:52 -07:00
signtos Follow renames of conscrypt and bouncycastle to remove -host suffix 2017-10-17 15:27:52 -07:00
zipalign Use -Werror in build/make 2017-10-03 13:53:13 -07: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
adbs ADBS now uses stack_core code to parse traces. 2014-07-07 15:14:41 -07:00
brillo-clang-format Include Brillo's cannonical .clang-format file. 2016-02-16 14:29:45 -08:00
buildinfo.sh Split board-specific system properties into vendor partition 2017-02-27 13:35:37 +09:00
check_builds.sh Use a more modern -j flag. 2012-08-16 22:45:55 -07:00
check_link_type.py Fix link_type checking 2016-09-15 14:40:39 -07:00
check_radio_versions.py fix build: make check_radio_versions.py okay with no args 2012-03-21 10:01:01 -07:00
checkowners.py Accept alternative email addresses. 2017-09-07 13:07:26 -07:00
compare_fileslist.py auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
dump-package-stats Ignore zip comments in dump-package-stats 2017-10-03 12:56:09 -07:00
event_log_tags.py check syntax of description field in logtags files 2011-01-23 12:57:19 -08:00
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 make product-graph now filtered 2012-08-16 22:45:55 -07:00
findleaves.py findleaves.py: prevent recursion into symlink loops 2016-11-03 14:29:40 -07:00
fixlinebreaks.sh auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
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 Add float support to binary event log. 2015-04-28 18:21:09 -07:00
java-layers.py Add a tool to let you enforce layering between packages in a java module. 2012-10-20 17:25:55 -07:00
merge-event-log-tags.py fix merge-event-log-tags.py deprecation warning 2012-09-20 11:50:34 -07:00
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 Add tool to parse make dependency info from new --deps flag. 2012-08-16 22:45:55 -07:00
post_process_props.py Allow ro. properties to have arbitrary lengths 2017-10-12 09:21:48 -07:00
print_module_licenses.sh auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
product_debug.py Remove support of factory ramdisk/bundle. 2015-02-04 11:00:01 -08:00
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