mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
"and" and "or" are semantically different, so we should not discourage their use. See: https://crbug.com/355672411#comment11 Bug: 355672411 Change-Id: I95aa204da5550747ec67ccb6e42b87e6ac042b0b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5783166 Auto-Submit: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Anne Redulla <aredulla@google.com> Commit-Queue: Anne Redulla <aredulla@google.com>
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 runhookson 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