[resultdb] set resultdb iff chromium.resultdb.result_sink is set

This is copied from https://crrev.com/c/2416995.
The intent of this CL is to submit a patch for the flag first,
so that it can be used for blink_web_tests.

R=chanli@chromium.org
CC=nodir@chromium.org

Bug: 1108016
Change-Id: I5099040f54f87ae31596669de8e607fe31e8331e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2445463
Reviewed-by: Chan Li <chanli@chromium.org>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Garrett Beaty <gbeaty@chromium.org>
Commit-Queue: Scott Lee <ddoman@chromium.org>
5 files changed
tree: dd1a23ccbdc0b0af0454b91a936d871cd3f1e103
  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.