commit | 5672f28e2acdf00721356e67a4de7d03f4d18960 | [log] [tgz] |
---|---|---|
author | Denis Nikitin <denik@google.com> | Tue Oct 06 12:07:42 2020 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 13 13:18:33 2020 +0000 |
tree | 3affafe96d91d07316d4f250fb9d734850c5315f | |
parent | aac9c23c9414831617739e1271aa9491b04b7e4f [diff] |
crosperf: refactor chrome src search Replace multiple levels of if/else of the chrome src search with a loop. Add a missing search path .cache/distfiles/chrome-src. Add checks for the Chrome source location and raise RuntimeError if it does not exist. BUG=None TEST=Tested with crosperf and distfiles/target/chrome-src-internal. Change-Id: I66dd7c802a4e80238e4d625586198bdf573621dc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2453595 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org> Tested-by: Denis Nikitin <denik@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.