aboutsummaryrefslogtreecommitdiff
path: root/cwp
AgeCommit message (Collapse)Author
2020-04-27cr-os: normalize out/ directoriesGeorge Burgess IV
The descriptions we're emitting here include the name of the out/ directory that they reside in. Exposing this implementation detail is pretty awkward in general, so let's not do that. :) BUG=chromium:908661 TEST=unittests; ran locally Change-Id: Ib5a1cc66936fb6ab8677f64cd3e07a5e40141154 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2165511 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: George Burgess <gbiv@chromium.org>
2020-04-06cr-os: add a script to fetch Chromium's build structureGeorge Burgess IV
This uses `gn` to gather a mapping of {gn_target: source_files}, with some additional metadata attached. This is intended to be used with the infra landed in cl/304465353. BUG=chromium:908661 TEST=Ran to generate JSON files. Change-Id: I091ee0cf9ef9a52eac25855ff83fabb7539aa8e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2136075 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
2020-02-12toolchain-utils: deprecate cwp and mem_tests scriptsZhizhou Yang
These two projects are very old and seems no one is touching them. BUG=chromium:1051236 TEST=None Change-Id: I81fb0fb69d0f505c931c153926eeb0d7a7d59b07 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2051387 Tested-by: Zhizhou Yang <zhizhouy@google.com> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Gabriel Marin <gmx@chromium.org> Commit-Queue: Zhizhou Yang <zhizhouy@google.com> Auto-Submit: Zhizhou Yang <zhizhouy@google.com>
2019-10-09set shebangs to python2Mike Frysinger
These scripts aren't ported to python3, so set the shebang to python2. BUG=chromium:1011676 TEST=CQ passes Change-Id: I192b50bc8b4d682fd562c75b479b68bffa9eab61 Reviewed-on: https://chromium-review.googlesource.com/1843911 Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org>
2016-07-25[toolchain-utils] Finish switching utils/ to cros_utils/.Caroline Tice
This CL finishes switching the subdirectory from 'utils' to 'cros_utils'. It changes all the remaining import statements to use 'cros_utils'; it removes the 'cros_utils' symlink, and it renames the 'utils' subdirectory to 'cros_utils'. BUG=chromium:568195 TEST=ran crosperf & binary search tool unittests. Change-Id: I7427f8bfb2ddac3a4b6108e46782039059684382 Reviewed-on: https://chrome-internal-review.googlesource.com/270396 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Cassidy Burden <cburden@google.com> Reviewed-by: Luis Lozano <llozano@chromium.org>
2015-12-16Run pyformat on all the toolchain-utils files.Luis Lozano
This gets rid of a lot of lint issues. Ran by doing this: for f in *.py; do echo -n "$f " ; if [ -x $f ]; then pyformat -i --remove_trailing_comma --yapf --force_quote_type=double $f ; else pyformat -i --remove_shebang --remove_trailing_comma --yapf --force_quote_type=double $f ; fi ; done BUG=chromium:567921 TEST=Ran simple crosperf run. Change-Id: I59778835fdaa5f706d2e1765924389f9e97433d1 Reviewed-on: https://chrome-internal-review.googlesource.com/242031 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@google.com>
2013-03-20change shebang to /usr/bin/pythonMike Frysinger
BUG=chromium-os:206038 TEST=None Change-Id: I34c09e14d13993ff2b9e6ce17dd7e16fd01f962c Reviewed-on: https://gerrit-int.chromium.org/34133 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Mike Frysinger <vapier@google.com> Tested-by: Mike Frysinger <vapier@google.com>
2013-03-15Cleaned up directory after copy of tools from perforce directoryLuis Lozano
Got rid of stale copies of some tools like "crosperf" and moved all files under v14 directory (that came from perforce) into the top directory. BUG=None TEST=None Change-Id: I408d17a36ceb00e74db71403d2351fd466a14f8e Reviewed-on: https://gerrit-int.chromium.org/33887 Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@google.com> Commit-Queue: Luis Lozano <llozano@chromium.org>