diff options
author | Yunlian Jiang <yunlian@google.com> | 2013-08-19 13:59:34 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-26 16:03:00 -0700 |
commit | d145a5873cb01ceab07ea4b3fa325d7560f8ad6a (patch) | |
tree | 3ef0c9940c0f0d76d4c21ad0ed9ce53d8f284072 /test_toolchains.py | |
parent | b47bff4d3336c5fe5593a95963c0f3dc20a02f68 (diff) | |
download | toolchain-utils-d145a5873cb01ceab07ea4b3fa325d7560f8ad6a.tar.gz |
add vanilla_image option to build_chromeos.py
This adds vanilla_iamge option to build_chromeos.py.
With this option, it runs build_packages with --usepkg.
In the test_toolchains.py, it uses this option when
building vanilla image.
BUG=None
TEST=None
Change-Id: I54f85e60ccae833ab6682476e19365a51df5ef29
Reviewed-on: https://gerrit-int.chromium.org/43088
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
Diffstat (limited to 'test_toolchains.py')
-rw-r--r-- | test_toolchains.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test_toolchains.py b/test_toolchains.py index 18448ab2..702af56b 100644 --- a/test_toolchains.py +++ b/test_toolchains.py @@ -46,6 +46,8 @@ class ChromeOSCheckout(object): "--rebuild"] if self._public: build_chromeos_args.append("--env=USE=-chrome_internal") + if label == "vanilla": + build_chromeos_args.append("--vanilla_image") ret = build_chromeos.Main(build_chromeos_args) if ret: raise Exception("Couldn't build ChromeOS!") |