You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bug:b/349274008 Change-Id: I6ce8f1993bcf78514111d709b69b109e481d18b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5652700 Reviewed-by: Jiewei Qian <qjw@chromium.org> Reviewed-by: Rachael Newitt <renewitt@google.com> Commit-Queue: Jordan Brown <rop@google.com> |
8 months ago | |
---|---|---|
.. | ||
fields | 8 months ago | |
tests | 8 months ago | |
OWNERS | ||
PRESUBMIT.py | ||
README.md | ||
__init__.py | ||
dependency_metadata.py | 11 months ago | |
discover.py | 12 months ago | |
parse.py | 11 months ago | |
scan.py | 11 months ago | |
validate.py | 12 months ago | |
validation_result.py | 11 months ago |
README.md
Validation for Chromium's Third Party Metadata Files
This directory contains the code to validate Chromium third party metadata
files, i.e. README.chromium
files.
Prerequisites
- Have the Chromium source code checked out on disk
- Ensure you've run
gclient runhooks
on your source checkout
Run
metadata/scan.py
can be used to search for and validate all Chromium third
party metadata files within a repository. For example, if your chromium/src
checkout is at ~/my/path/to/chromium/src
, run the following command from the
root directory of depot_tools
:
vpython3 --vpython-spec=.vpython3 metadata/scan.py ~/my/path/to/chromium/src