platform_build/tools
Tao Bao 9a5f419ecf Look for non-existent files listed in avb_vbmeta_args.
In BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS, if we have defined
"--include_descriptors_from_image" with an image file whose path points
to source tree, add_img_to_target_files.py or sign_target_files_apks.py
may fail to find the file. Because these scripts may run without a
source tree, by taking target_files.zip as the only input.

This CL scans additional locations in the input target_files.zip to find
those missing files in avb_vbmeta_args. As long as the files are included
in the target_files.zip, they get a second chance to be found.

Bug: 63910867
Test: As follows:
 1. Setup BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS with a local file path;
 2. Remove the local file;
 3. sign_target_files_apks.py fails without this CL;
 4. sign_target_files_apks.py works.
Change-Id: I3c58f80a5535db02b74cfe40d0c0beff72587cf8
(cherry picked from commit 1dc5d47653)
2017-07-21 11:57:00 -07: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 Android.mk: clear variable at end of use 2017-05-19 20:14:27 +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 Wait for children to exit in makeparallel 2017-02-21 17:53:35 -08:00
releasetools Look for non-existent files listed in avb_vbmeta_args. 2017-07-21 11:57:00 -07:00
signapk Don't include the dev-key on IOT products. 2017-04-03 15:04:35 -07:00
signtos Add SignTos tool 2014-08-08 13:18:53 -07:00
zipalign zipalign: remove support for adding members from gzip sources. 2017-02-16 10:53:09 +00:00
ziptime Switch some build tools to Soong 2016-06-06 14:51:52 -07:00
Android.mk Remove unneccessary TARGET_BUILD_APPS conditional 2015-12-15 15:49:53 -08: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 Add ro.build.ab_update property. 2015-11-19 18:42:52 +00: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 Encode special characters in email addresses. 2017-04-05 14:16:49 -07:00
compare_fileslist.py auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
dump-package-stats allow use of unzip version 6.0 2009-11-09 18:19:48 -08: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-14 16:29:16 -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 There's no longer a limit on property names. 2017-02-28 10:04:23 -08: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
warn.py Find target keywords in the first 100 lines. 2017-06-07 23:17:13 +00:00