Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: sync_build_test.sh

Issue 2810035: Add --nousepkg option for build_packages to sbt (Closed) Base URL: ssh://git@chromiumos-git//crosutils.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync_build_test.sh
diff --git a/sync_build_test.sh b/sync_build_test.sh
index 1b61ffdec407ffc727a700dca652cfa90c4a4567..ce19479e92f2d33bf833777280ec16243a89e7d9 100755
--- a/sync_build_test.sh
+++ b/sync_build_test.sh
@@ -79,6 +79,7 @@ DEFINE_string test "" \
DEFINE_string top "" \
"Root directory of your checkout (defaults to determining from your cwd)"
DEFINE_boolean withdev ${FLAGS_TRUE} "Build development packages"
+DEFINE_boolean usepkg ${FLAGS_TRUE} "Use binary packages"
DEFINE_boolean unittest ${FLAGS_TRUE} "Run unit tests"
@@ -516,10 +517,15 @@ function main() {
if [[ ${FLAGS_build_autotest} -eq ${FLAGS_TRUE} ]]; then
build_autotest_param="--withautotest"
fi
+ local pkg_param=""
+ if [[ ${FLAGS_usepkg} -eq ${FLAGS_FALSE} ]]; then
+ pkg_param="--nousepkg"
+ fi
run_phase_in_chroot "Building packages" \
./build_packages "${board_param}" \
- ${jobs_param} ${withdev_param} ${build_autotest_param}
+ ${jobs_param} ${withdev_param} ${build_autotest_param} \
+ ${pkg_param}
run_phase_in_chroot "Building unit tests" ./build_tests.sh ${board_param}
if [[ "${FLAGS_board}" == "x86-generic" ]]; then
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698