cros_chrome_make: reduce warnings from ebuild
Passing multiple actions to ebuild works properly, but produces many
spurious warnings in the logs.
BUG=None
TEST=Ran with and without --install
Change-Id: Icc272e279c0cb8a5411446281b7439e38100786c
Reviewed-on: https://gerrit.chromium.org/gerrit/16805
Commit-Ready: Chris Wolfe <[email protected]>
Reviewed-by: Chris Wolfe <[email protected]>
Tested-by: Chris Wolfe <[email protected]>
diff --git a/host/cros_chrome_make b/host/cros_chrome_make
index 06b2678..3af04cb 100755
--- a/host/cros_chrome_make
+++ b/host/cros_chrome_make
@@ -195,8 +195,10 @@
# TODO(rcui): crosbug.com/20435. Investigate not running 'clean' and just
# re-running the compile stage when the Chrome build switches to Ninja inside
# the chroot.
-ebuild_actions="clean compile"
-if [ "${FLAGS_install}" = "${FLAGS_TRUE}" ]; then
+ebuild_actions="clean"
+if [ "${FLAGS_install}" = "${FLAGS_FALSE}" ]; then
+ ebuild_actions="${ebuild_actions} compile"
+else
ebuild_actions="${ebuild_actions} install"
fi