diff options
author | 2015-09-24 00:21:04 +0000 | |
---|---|---|
committer | 2015-09-24 14:21:05 +0000 | |
commit | 402d112bc25449f1e690bbbace600bbcda834d24 (patch) | |
tree | 7ab138fa656c0ce80cd8fd9171891dfb7563f687 /src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinary.java | |
parent | 93cb6466b928eb4abd1f0bd050619a31d3752f68 (diff) |
Rollback of commit 53330510c6ea5cd6257b9981b44e52d15a9e01aa.
*** Reason for rollback ***
Breaks tests.
*** Original change description ***
Remove gen jar implicit output.
This allows us to only create a jar for libraries that use annotation processing.
It also increases our flexibility by reducing the visibility of these gen jars
to an undocumented output group.
--
MOS_MIGRATED_REVID=103800137
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinary.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinary.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinary.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinary.java index 2fdef2a77b..81db9ac7cf 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinary.java +++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidBinary.java @@ -257,7 +257,8 @@ public abstract class AndroidBinary implements RuleConfiguredTargetFactory { resourceApk, AndroidIdlProvider.EMPTY, ruleContext.getConfiguration().isCodeCoverageEnabled(), - true /* collectJavaCompilationArgs */); + true /* collectJavaCompilationArgs */, + AndroidRuleClasses.ANDROID_BINARY_GEN_JAR); if (resourceClasses == null) { return null; } |