[js-code-coverage] Resource file for generating coverage metadata for JS

Introduce the resource files that will generate the coverage metadata
for JavaScript code coverage. Invoke the resource from the code_coverage
recipe module when the use_javascript_coverage flag is enabled.

Bug: 1113941
Test: ./recipes.py test run
Test: ./generate_coverage_metadata_for_javascript_test.py
Change-Id: Ife483f8b208101d0c94a2edfe45790d7e082e197
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2528851
Auto-Submit: Ben Reich <benreich@chromium.org>
Reviewed-by: Zhaoyang Li <zhaoyangli@chromium.org>
Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org>
4 files changed
tree: 2ed69883886d3ced4db93d739885b862a7399ecf
  1. infra/
  2. recipes/
  3. scripts/
  4. site_config/
  5. third_party/
  6. .gitattributes
  7. .gitignore
  8. .style.yapf
  9. .vpython
  10. .yapfignore
  11. codereview.settings
  12. CROS_OWNERS
  13. DEPS
  14. environment.cfg.py
  15. LICENSE
  16. OWNERS
  17. PRESUBMIT.py
  18. README.md
  19. WATCHLISTS
README.md

Recipes

If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*), please take a look at the README for more information pertaining to recipes.

Style

The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores, with the exception of the special functions RunSteps and RunTests in recipes. Use yapf (git cl format --no-clang-format) to autoformat new code.