[js-code-coverage] Consume use_javascript_coverage flag in recipe module

When the use_javascript_coverage property is passed to the builder, set
the flag on the code_coverage recipe modules.

Test: ./recipes.py test run
Bug: 1113941
Change-Id: I43ffde639d555c297756eb0dfed492613e47d1ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2474613
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Reviewed-by: Veenita Joshi <veenita@google.com>
Commit-Queue: Ben Reich <benreich@chromium.org>
5 files changed
tree: fbb1db9ecd718092ef6097da90faf4d1fd864180
  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.