aboutsummaryrefslogtreecommitdiff
path: root/build_tc.py
AgeCommit message (Collapse)Author
2017-04-08[toolchain-utils] Fix remaining lint errors in toolchain-utils.Caroline Tice
In addition to fixing the lint errors, this also fixes the Python formatting issues (ran tc_pyformat on nearly all the files). BUG=chromium:570450 TEST=Ran all crosperf & bisect tool unit tests. Ran afe_lock_machine.py (check machine status) Ran full crosperf test (octane, speedometer, BootPerf) on alex. Change-Id: Ic86f9192801ac67769f3de30f1c5f0d203ce0831 Reviewed-on: https://chromium-review.googlesource.com/471886 Commit-Ready: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
2016-01-22Fix cros lint errors.Caroline Tice
Also move deprecated scripts to the 'deprecated' directory. BUG=chromiumos:570464 TEST=tested scripts to make sure they still work. Change-Id: I3442a86d898104591233a0849ea0bafb52ecf1f7 Reviewed-on: https://chrome-internal-review.googlesource.com/244221 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>
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>
2014-11-06Copy the gcc libs to the appropriate destination directory for the board.Rahul Chaudhry
Use get_board_arch defined in toolchain_utils to get the right destination directory for gcc libs. BUG=chromium:429775 TEST=Ran build_tc.py for panther board. Change-Id: I1eff4ac788dd61338037838f7d3f688163a6c2bc Reviewed-on: https://chrome-internal-review.googlesource.com/182626 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Rahul Chaudhry <rahulchaudhry@google.com> Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
2014-11-05Specify full paths for scripts run inside the chroot.Rahul Chaudhry
Remove the assumption that the current directory is ~/trunk/src/scripts/ when the chroot is entered with cros_sdk. BUG=chromium:429765 TEST=Ran build_chromeos.py, build_tc.py with the changes. Change-Id: I9e54fda6b5f8ec8fe18b18cf67824c923a7e82e2 Reviewed-on: https://chrome-internal-review.googlesource.com/182270 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Rahul Chaudhry <rahulchaudhry@google.com> Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
2013-12-16Add a script to delete nightly test data that are old.Han Shen
TEST=tested on tc-build.hot Change-Id: I6b6bc298b56c6ac79cbbd66f8168bc234580c884 Reviewed-on: https://chrome-internal-review.googlesource.com/150264 Reviewed-by: Yunlian Jiang <yunlian@google.com> Commit-Queue: Han Shen <shenhan@google.com> Tested-by: Han Shen <shenhan@google.com>
2013-03-20Copy gcc libs directory to sysroot after build.Luis Lozano
Tools like crosperf look for the gcc libraries under the sysroot. Also fixed a mino issue when using --gcc_dir and other *_dir options when the directory given does not exist. BUG=None TEST=Build toolchain and verified the libraries are copied to the correct place. Verified that the *_dir options check for existance of dir given Change-Id: I61599db2843d5bdbbc479164a8f05c722f9f7e75 Reviewed-on: https://gerrit-int.chromium.org/34153 Reviewed-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Caroline Tice <cmtice@google.com> Commit-Queue: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org>
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>