| commit | c9b8318dda560c81fe79e2b59c3716677c10f14f | [log] [tgz] |
|---|---|---|
| author | George Burgess IV <gbiv@google.com> | Mon May 13 10:25:59 2024 -0600 |
| committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 13 17:22:05 2024 +0000 |
| tree | dd19b184f98ecbf9a392c118e05a1d4359c40a6e | |
| parent | d072003ab7c74e5922920594500eec273f10a70a [diff] |
push `FindChromeOSRootAbove` out of hash-getting Most scripts have a clear idea of what the CrOS root directory is. Pass that in here, rather than taking anything in a CrOS tree, so this is easier to think about. I hand-audited the handful of calls to this function. Most were already doing this. BUG=None TEST=Unittests Change-Id: Id0dd6c13bf3c78c828594fefd6a5f523f9553333 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5533680 Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org> Reviewed-by: Jordan Abrahams-Whitehead <ajordanr@google.com>
toolchain-utilsVarious utilities used by the ChromeOS 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.