diff options
author | 2019-01-23 16:14:02 -0800 | |
---|---|---|
committer | 2019-01-24 23:48:04 +0000 | |
commit | 7788c1283fcfe00b59d500fdc3b01ff39049e7ed (patch) | |
tree | 4bdd29ce554a8952e8462c8141b59f40751e771f /java/builder.go | |
parent | 11ecdd69798c12ab0657aa6fdd03b44ddadda6ad (diff) |
Remove annotation_processors property
Now that there are no uses left of annotation_processors remove
the property.
If there are no annotation processor classes for javac for a module,
due to an empty "plugins" property or using kapt for annotation
processors, pass -proc:none to javac to ensure it does not try
to run any annotation processors found in the classpath.
Bug: 77284273
Test: plugin_test.go, kotlin_test.go
Change-Id: I3823d9fec8d3d07d2e49b1d97839f7fcbdd35647
Diffstat (limited to 'java/builder.go')
-rw-r--r-- | java/builder.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/builder.go b/java/builder.go index 67e8235b6..df17f7b95 100644 --- a/java/builder.go +++ b/java/builder.go @@ -255,8 +255,7 @@ func transformJavaToClasses(ctx android.ModuleContext, outputFile android.Writab deps = append(deps, flags.classpath...) deps = append(deps, flags.processorPath...) - // TODO(b/77284273): pass -processor:none if no plugins are listed - processor := "" + processor := "-proc:none" if flags.processor != "" { processor = "-processor " + flags.processor } |