History log of /external/toolchain-utils/build_tool.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d1c31b2853e1b7bf47935cffd41ffd4f790d8d9f 18-Apr-2016 Han Shen <shenhan@google.com> Update build_tool.py to work for aosp-toolchain repos.

Fixed the build_tool.py so that it works for aosp binutils / gcc repos.

TEST=tested manually with a local binutils source tree and a local
binutils branch.
BUG=None

Change-Id: I4756abcf234651e18284be38e50d4b534aeff942
Reviewed-on: https://chrome-internal-review.googlesource.com/255905
Commit-Ready: Han Shen <shenhan@google.com>
Tested-by: Han Shen <shenhan@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/build_tool.py
88272d479f2761cc1906fea564c73033f77a6270 13-Jan-2016 Caroline Tice <cmtice@google.com> Fix cros lint errors.

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>
/external/toolchain-utils/build_tool.py
f2a3ef46f75d2196a93d3ed27f4d1fcf22b54fbe 15-Dec-2015 Luis Lozano <llozano@chromium.org> Run pyformat on all the toolchain-utils files.

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>
/external/toolchain-utils/build_tool.py
036c9233742004aa773a374df381b1cf137484f5 10-Dec-2015 Luis Lozano <llozano@chromium.org> crosperf: RunCommand should return one type of object.

Cleaned up the interfaces for the RunCommand routines.
These were returning different types (int or tuple) depending on
the value of the return_ouput parameter.
Returning different unrelated types from a routine is bad practice.
Linter complains about this with several warnings like this:

"Attempting to unpack a non-sequence defined at line XY of
utils.command_executer"

BUG=chromium:566256
TEST=ran crosperf with a example experiment file
Ran run_tests.

Change-Id: Ibb83ab9322c87558077fc4937ef5c0686bbe5417
Reviewed-on: https://chrome-internal-review.googlesource.com/241459
Commit-Ready: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Han Shen <shenhan@google.com>
/external/toolchain-utils/build_tool.py
03d309800564e52785cfa88a6756e35e6081cfaa 12-Jun-2014 Han Shen <shenhan@chromium.org> Adds a second build of host packages.

Adds a second build of host packages and do some testing, which
mimics the ways chromiumos-sdk cbuildbot does.

So actually we perform 2 builds of all host packages -
1. build new toolchain using old toolchain and build all host packages
using the newly built toolchain
2. build the new toolchain again but using new toolchain built in step 1,
and build all host packages using the newly built toolchain

TEST=locally
BUG=None

Change-Id: Ic35092893b10860ca1112a1abb3356a279d36869
Reviewed-on: https://chrome-internal-review.googlesource.com/163325
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Han Shen <shenhan@google.com>
Tested-by: Han Shen <shenhan@google.com>
/external/toolchain-utils/build_tool.py
8dfdabd29b15f3bc5ebc4692d119e51826c6ef17 08-May-2014 Han Shen <shenhan@chromium.org> Correctly test failures while building boards.

TEST=None
BUG=None

Change-Id: Iaae09d30214d6f8bb8b069d5fc4009a20cb0e6d8
Reviewed-on: https://chrome-internal-review.googlesource.com/162912
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Han Shen <shenhan@google.com>
Tested-by: Han Shen <shenhan@google.com>
/external/toolchain-utils/build_tool.py
fe3001c80006e3b86ee891d72a03b1f6ab04f5ed 29-Apr-2014 Han Shen <shenhan@chromium.org> Add support to build mutiple boards for binutils/gcc.

Now you can specify multiple boards in one command line like this
./build_tool.py --board='x86-alex,lumpy'

TEST=None
BUG=None

Change-Id: Idac899bb225ce51eab922f5ab0b08b36ce7b0e20
Reviewed-on: https://chrome-internal-review.googlesource.com/161923
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Han Shen <shenhan@google.com>
Tested-by: Han Shen <shenhan@google.com>
/external/toolchain-utils/build_tool.py
f0b68e6708a801748908982a3b7bca906faa8a36 17-Apr-2014 Han Shen <shenhan@chromium.org> Rename bootstrap_compiler.py to build_tool.py.

TEST=None
BUG=None

Change-Id: I33d914575c17f4c2b6535ecdbdc474759e9f8f56
Reviewed-on: https://chrome-internal-review.googlesource.com/160841
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Han Shen <shenhan@google.com>
Tested-by: Han Shen <shenhan@google.com>
/external/toolchain-utils/build_tool.py