diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ProtocolBuffers2Support.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ProtocolBuffers2Support.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ProtocolBuffers2Support.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ProtocolBuffers2Support.java index 5b4300b50d..610f27776a 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ProtocolBuffers2Support.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ProtocolBuffers2Support.java @@ -14,8 +14,6 @@ package com.google.devtools.build.lib.rules.objc; -import static com.google.devtools.build.lib.rules.objc.XcodeProductType.LIBRARY_STATIC; - import com.google.common.base.Function; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; @@ -119,21 +117,6 @@ final class ProtocolBuffers2Support { return getCommon().getObjcProvider(); } - /** Returns the XcodeProvider for this target. */ - public XcodeProvider getXcodeProvider() { - XcodeProvider.Builder xcodeProviderBuilder = - new XcodeProvider.Builder() - .addUserHeaderSearchPaths(getIncludes()) - .setCompilationArtifacts(getCompilationArtifacts()); - - new XcodeSupport(ruleContext) - .addXcodeSettings(xcodeProviderBuilder, getCommon().getObjcProvider(), LIBRARY_STATIC) - .addDependencies( - xcodeProviderBuilder, new Attribute(ObjcRuleClasses.PROTO_LIB_ATTR, Mode.TARGET)); - - return xcodeProviderBuilder.build(); - } - private String getHeaderExtension() { return ".pb" + (attributes.usesObjcHeaderNames() ? "objc.h" : ".h"); } |