mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
All files in metadata/ are new, so they should follow the PEP-8 style. Change-Id: I5d8424536c3d7b703e6b8087e0e2d70c06a1549c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4834909 Reviewed-by: Rachael Newitt <renewitt@google.com> Commit-Queue: Rachael Newitt <renewitt@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