diff options
author | 2017-09-27 15:30:39 -0400 | |
---|---|---|
committer | 2017-09-28 08:54:52 -0400 | |
commit | e398b25f822f36cf00164b47343effbc00b8c50c (patch) | |
tree | 93e75597f4e9a3472cd27c9036f931bbd28b7cb3 /src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java | |
parent | 42ac567ed7e68659cfd1f986fba87a6977092f6a (diff) |
Expose JavaRuleOutputJarsProvider in java_common.provider, when available.
I'm not attempting to fix b/65618333 here, just handling one case
currently breaking users (JavaInfo created via java_common.compile).
My temporary workaround attempt to expose this information in the
soy custom rule failed (unknown commit) -- to fix users we really
need java_common changes.
RELNOTES: Expose output jars and jdeps in java_common.provider, when available.
PiperOrigin-RevId: 170236096
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java b/src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java index 9b09be1b1a..cc6cc166a3 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java +++ b/src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java @@ -267,7 +267,8 @@ public class JavaLiteProtoAspect extends NativeAspectClass implements Configured javaSemantics, JavaCompilationHelper.getJavaToolchainProvider(ruleContext), JavaHelper.getHostJavabaseInputs(ruleContext), - JavaCompilationHelper.getInstrumentationJars(ruleContext)); + JavaCompilationHelper.getInstrumentationJars(ruleContext), + JavaRuleOutputJarsProvider.builder()); return helper.buildCompilationArgsProvider(artifacts, true /* isReportedAsStrict */); } |