summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2020-03-31 16:11:05 +0100
committer Roland Levillain <rpl@google.com> 2020-04-08 13:09:49 +0100
commit23c46cf42453bfef7f1bd88e21e422a75a281281 (patch)
tree9ed1a69106b61cdff8504196f6120fd55e8a2a6f /tools/warn/java_warn_patterns.py
parent8459ede56d76e8f50ab8d3562e0460cab4dd72f1 (diff)
Print a user-friendly message when `lunch` cannot use the default product.
In some environments (e.g. with the master-art branch), the default product (aosp_arm-eng) cannot be built, and thus prevents `lunch` from printing the lunch menu (as it cannot initialize the build system in order to fetch the common lunch choices). When this happens, show an explicit error message from `lunch` instead of a Soong UI error. Test: Check that this command line displays the expected error message: unset TARGET_PRODUCT && . build/envsetup.sh && lunch Bug: 152762648 Change-Id: I40c66bca5b075d88dbc8364b36b2db713e6ad93e
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions