commit | 39a1c992ee085cac78f64b36b66daa1e1c8747ad | [log] [tgz] |
---|---|---|
author | Manoj Gupta <manojgupta@google.com> | Thu Jan 23 14:13:11 2020 -0800 |
committer | Manoj Gupta <manojgupta@chromium.org> | Fri Jan 24 15:04:33 2020 +0000 |
tree | bb5f5b889c365357f484e19cc638d75bc95cb9ff | |
parent | 0ee6a5701bedfa6b67b33f8b47cd705d713b1777 [diff] |
compiler_wrapper: strip newline char from resource dir. The resource dir value returned by calling clang has a new line character. This breaks running clang with "-Xclang-path=/path/to/<clang_dir>" functionality as the resource directory with this new line does not exist. BUG=chromium:1044790 TEST=compilation with "-Xclang-path=/path/to/<clang_dir>" works. Change-Id: I0ef31108719aed02a433aff3e751e961892dd15a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2017844 Tested-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: 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.