diff options
| author | 2018-03-05 13:47:07 +0000 | |
|---|---|---|
| committer | 2018-03-05 13:47:07 +0000 | |
| commit | 7664e3473747565d438afb19f1cf7edb5a57e5e9 (patch) | |
| tree | 48b28981ffe92090ca661052119bf11aab1d2a7f | |
| parent | 64d0a81b4a3c7019f2a8a1a7549e33a5e2cbd413 (diff) | |
| parent | fe3e2bf0cd746347942e2a38d2d1816051ff68d9 (diff) | |
Merge "Have `art/tools/buildbot-build --target` abort on empty TARGET_PRODUCT."
| -rwxr-xr-x | tools/buildbot-build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/buildbot-build.sh b/tools/buildbot-build.sh index a20175531d..e447ab4cf4 100755 --- a/tools/buildbot-build.sh +++ b/tools/buildbot-build.sh @@ -74,6 +74,10 @@ if [[ $mode == "host" ]]; then make_command+=" dx-tests" mode_suffix="-host" elif [[ $mode == "target" ]]; then + if [[ -z "$TARGET_PRODUCT" ]]; then + echo 'TARGET_PRODUCT environment variable is empty; did you forget to run `lunch`?' + exit 1 + fi make_command="make $j_arg $extra_args $showcommands build-art-target-tests $common_targets" make_command+=" libjavacrypto-target libnetd_client-target linker toybox toolbox sh" make_command+=" ${out_dir}/host/linux-x86/bin/adb libstdc++ " |