platform_build/tools
Bob Badour d6574e5c97 Add AllMetadataFiles() method to track deps.
Improve METADATA parsing error message.

Example error message (for an unqoted string url starting with ssh:):

============
  error in project "<redacted>" METADATA "<redacted>/METADATA": proto: (line 4:12): invalid value for string type: ssh

METADATA and METADATA.android files must parse as text protobufs
defined by
   build/soong/compliance/project_metadata_proto/project_metadata.proto

* unknown fields don't matter
* check invalid ENUM names
* check quoting
* check unescaped nested quotes
* check the comment marker for protobuf is '#' not '//'

if importing a library that uses a different sort of METADATA file, add
a METADATA.android file beside it to parse instead
============

Bug: 254534552

Test: m droid dist cts alllicensemetadata

Change-Id: Ie5c0adc7362941e455dd522baaa31f2913d7db5f
2022-10-27 18:12:30 -07:00
..
acp Fix licenses and license texts. 2022-01-24 16:19:41 -08:00
apicheck [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
atree Fix licenses and license texts. 2022-01-24 16:19:41 -08:00
canoninja Fix go.mod for tools/canoninja 2022-08-01 14:45:28 -07:00
compliance Add AllMetadataFiles() method to track deps. 2022-10-27 18:12:30 -07:00
docker
droiddoc Fix licenses and license texts. 2022-01-24 16:19:41 -08:00
fs_config Convert fs_config_generator.py to python 3 2022-10-21 11:16:18 -07:00
fs_get_stats Fix licenses and license texts. 2022-01-24 16:19:41 -08:00
libhost Fix licenses and license texts. 2022-01-24 16:19:41 -08:00
product_config ALLOW_RULES_IN_PRODUCT_CONFIG 2021-02-23 22:40:39 -08:00
rbcrun Sort rblf_wildcard results and remove file existence functions 2022-04-26 12:15:41 -07:00
releasetools Merge "Remove all ZIP64LIMIT hack" 2022-10-27 22:44:22 +00:00
signapk Merge "Add support for -providerArg in signapk" am: 9d1a0a47d5 am: 9401efe64f 2022-05-12 19:39:26 +00:00
signtos [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
warn Add date time, checks on android_root, etc. 2022-05-19 15:28:41 -07:00
zipalign Zipalign: Don't align directory entries 2022-10-12 13:57:16 -07:00
ziptime [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
Android.bp Migrate check_elf_file.py to python3 2022-10-27 02:08:23 +00:00
auto_gen_test_config.py
auto_gen_test_config_test.py
brillo-clang-format
build-runfiles.cc make: fix memory leak 2022-06-28 11:23:21 -07:00
BUILD.bazel Add check_elf_file to BUILD.bazel 2022-09-07 22:24:33 +00:00
buildinfo.sh Remove deprecated BOARD_BUILD_SYSTEM_ROOT_IMAGE 2022-10-13 16:08:53 +08:00
check_elf_file.py Migrate check_elf_file.py to python3 2022-10-27 02:08:23 +00:00
check_identical_lib.sh
check_radio_versions.py Convert check_radio_versions to python3 2022-10-24 21:02:00 +00:00
checkowners.py Update checkowners.py to support python3 2022-04-04 13:22:38 +01:00
compare_builds.py Add tool to find problems with build repeatability. 2021-02-11 08:52:44 +00:00
event_log_tags.bzl change logtags dependency to provide java sources 2022-04-05 16:06:46 +00:00
event_log_tags.py Migrate java-event-logs-tags.py to python3. 2022-01-17 13:02:53 +00:00
exercise_compare_builds Add tool to find problems with build repeatability. 2021-02-11 08:52:44 +00:00
extract_kernel.py extract_kernel: make it py2/py3 compatible 2021-02-07 17:05:53 +08:00
fat16copy.py
fileslist_util.py Convert fileslist_util.py to python 3 2022-10-24 18:46:03 -07:00
findleaves.py Convert findleaves.py to python 3 2022-10-24 17:57:39 -07:00
fixlinebreaks.sh
generate-enforce-rro-android-manifest.py
generate-notice-files.py Make the script python3. 2021-09-13 14:54:58 -07:00
generate-self-extracting-archive.py Convert generate-self-extracting-archive.py to python 3 2021-12-29 13:58:28 -08:00
java-event-log-tags.py Remove extra semicolons from event log tag generated files 2022-10-13 17:47:42 -07:00
merge-event-log-tags.py Migrate java-event-logs-tags.py to python3. 2022-01-17 13:02:53 +00:00
mk2bp_catalog.py Make file list by partitions for all lunch targets 2022-04-07 11:01:19 -07:00
mk2bp_partition.py Make file list by partitions for all lunch targets 2022-04-07 11:01:19 -07:00
normalize_path.py Update normalize_path.py to Python 3. 2022-10-20 08:11:18 +00:00
OWNERS
post_process_props.py Revert "Turn off adb on user builds." 2022-01-27 00:52:01 +00:00
post_process_props_unittest.xml
print_module_licenses.sh
soong_to_convert.py
test_extract_kernel.py extract_kernel: make it py2/py3 compatible 2021-02-07 17:05:53 +08:00
test_post_process_props.py Remove grf_required_api_level 2021-04-13 17:58:59 +09:00
warn.py Fix/suppress most pylint and gpylint warnings 2021-04-28 14:57:56 -07:00
whichgit The --why parameter in whichgit should be optional 2022-10-24 08:03:20 -07:00