commit | 39b3dde34a54fe25e5be04ac3175a14258a6bc4e | [log] [tgz] |
---|---|---|
author | Ben Reich <benreich@chromium.org> | Tue Dec 01 03:37:23 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 01 03:37:23 2020 |
tree | 68b118c95f659d537e0ecd6e4317b6e2db84b3ed | |
parent | b6af41b7f6b0c42faace969c53d11b17070f4190 [diff] |
[js-code-coverage] Import json library In CL:2550516 added loading the monorail components but forgot to import the json library. Bug: 1113941 Test: ./recipes.py test run Test: ./generate_coverage_metadata_for_javascript_test.py Test: python generate_coverage_metadata_for_javascript.py \ --src-path chromium/src \ --coverage-dir chromium/src/out/Default/devtools_code_coverage \ --dir-metadata-path component_mapping \ --output-dir none Change-Id: Ibd3996c101a8f32304dc7edc916d3c93a4b5cbcb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2558595 Auto-Submit: Ben Reich <benreich@chromium.org> Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org> Reviewed-by: Zhaoyang Li <zhaoyangli@chromium.org>
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.
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.