tree: 3ca15089d1f5d8bab7bb9b4d692f1ff9f13691e9 [path history] [tgz]
  1. fields/
  2. tests/
  3. __init__.py
  4. dependency_metadata.py
  5. discover.py
  6. OWNERS
  7. parse.py
  8. PRESUBMIT.py
  9. README.md
  10. scan.py
  11. validate.py
  12. validation_result.py
metadata/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

  1. Have the Chromium source code checked out on disk
  2. 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