commit | fe3e2bf0cd746347942e2a38d2d1816051ff68d9 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Fri Mar 02 16:01:50 2018 +0000 |
committer | Roland Levillain <rpl@google.com> | Fri Mar 02 16:01:50 2018 +0000 |
tree | a414b8638bc55b026dd50e5e17659946c7f6dd92 | |
parent | 700ef3d1ada8cd2f67932edf94858e472edee3ea [diff] |
Have `art/tools/buildbot-build --target` abort on empty TARGET_PRODUCT. This is especially useful when the user has forgotten to run the `lunch` command (or forgotten to define TARGET_PRODUCT manually), to provide them with a meaningful error message instead of something cryptic like: ninja: error: unknown target 'out/target/product/system/etc/public.libraries.txt' Test: tools/buildbot-build.sh --target Change-Id: Ia7e8819eb6902db8fd8f6ac24789f1b25c3a6f8c