diff options
author | Cole Faust <colefaust@google.com> | 2021-06-13 15:23:16 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2021-06-14 15:31:32 -0700 |
commit | 75fffb14b8c74a6495d481f03586db7b505e737f (patch) | |
tree | 7de47dbeb0506198ef07f700d684daebfb078814 /java/kotlin_test.go | |
parent | 5f16b3d03ef34494e3ac7ef581ab5797f824d0f6 (diff) |
Add a build flag to always enable errorprone per-target
Currently, errorprone is only run if the RUN_ERROR_PRONE
enviornment variable is true. Add a flag that individual
modules can use to always enable errorprone.
In a followup cl, I plan to add another flag that will
force all errorprone checks to be errors, so that modules
can be confident that they're not ignoring any errorprone
checks.
Bug: 190944875
Test: New unit test and manually
Change-Id: Iab0c81642ed22a736add054147829e91a891d179
Diffstat (limited to 'java/kotlin_test.go')
-rw-r--r-- | java/kotlin_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/java/kotlin_test.go b/java/kotlin_test.go index 1c146a192..fd2f3ca61 100644 --- a/java/kotlin_test.go +++ b/java/kotlin_test.go @@ -185,7 +185,6 @@ func TestKapt(t *testing.T) { buildOS := android.BuildOs.String() kapt := result.ModuleForTests("foo", "android_common").Rule("kapt") - //kotlinc := ctx.ModuleForTests("foo", "android_common").Rule("kotlinc") javac := result.ModuleForTests("foo", "android_common").Description("javac") errorprone := result.ModuleForTests("foo", "android_common").Description("errorprone") |