diff options
author | 2015-11-09 18:08:51 +0000 | |
---|---|---|
committer | 2015-11-10 10:23:10 +0000 | |
commit | adab27ed11f824db43277eec05278c5d583cd430 (patch) | |
tree | 96adb01c5d30d4fd7a8a2171cebd23ebf08068ec /src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java | |
parent | bca82ad9c0a4b69ae1598d8a1a3eab0d088ed6e9 (diff) |
Change ProtoSourcesProvider to only export direct sources. Add a method, getCheckDepsProtoSources(), to get any indirect sources from alias library cases.
--
MOS_MIGRATED_REVID=107395192
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java b/src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java index 59a54702e9..529bc4a29e 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java @@ -82,7 +82,7 @@ public abstract class AbstractJ2ObjcProtoAspect implements ConfiguredNativeAspec } ProtoSourcesProvider protoSourcesProvider = base.getProvider(ProtoSourcesProvider.class); - ImmutableList<Artifact> protoSources = protoSourcesProvider.getProtoSources(); + ImmutableList<Artifact> protoSources = protoSourcesProvider.getDirectProtoSources(); NestedSet<Artifact> transitiveImports = protoSourcesProvider.getTransitiveImports(); J2ObjcSrcsProvider.Builder srcsBuilder = new J2ObjcSrcsProvider.Builder(); |