summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2018-07-09 09:45:06 -0700
committer Colin Cross <ccross@android.com> 2018-07-09 19:01:36 +0000
commit85a2e89a14ebf147a24f06e17c32109f43398e27 (patch)
tree9fdae84800bfc1cbf47e5171aa33a672b3e08846 /java/java_test.go
parent17ef5635fa1b81a0aa41f6ad094afc740444db36 (diff)
Fix error reporting when parsing genrule cmd
Report errors inside the android.Expand lambda and don't return an error so that processing can continue and multiple errors can be reported. Check for errors (for example incorrect syntax of variables) immediately after Expand returns. Avoids a misleading error message: specified depfile=true but did not include a reference to '${depfile}' in cmd Bug: 111219250 Test: m checkbuild Change-Id: Id9a16c1609f5fd9345bfa1a2191261cff72fd382
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions