aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/apple
diff options
context:
space:
mode:
authorGravatar Cal Peyser <cpeyser@google.com>2016-04-13 21:02:56 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-04-14 07:38:31 +0000
commit8bc763ce9570faa98c4dd3db3c8d261b47cad279 (patch)
tree387bcd68be6213ff99052f9eb7506f3fc1ff1d77 /src/main/java/com/google/devtools/build/lib/rules/apple
parentf0a18846461d4b7ecc76c36a659ff1e37f93d7dc (diff)
Make ObjcProvider keys accessible to skylark. This is necessary to allow
skylark native access to ObjcProvider instances. -- MOS_MIGRATED_REVID=119782586
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/apple')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/apple/AppleToolchain.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/apple/AppleToolchain.java b/src/main/java/com/google/devtools/build/lib/rules/apple/AppleToolchain.java
index 99d31f2272..8b87724368 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/apple/AppleToolchain.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/apple/AppleToolchain.java
@@ -44,6 +44,7 @@ import com.google.devtools.build.xcode.xcodegen.proto.XcodeGenProtos.XcodeprojBu
doc = "Utilities for resolving items from the Apple toolchain."
)
public class AppleToolchain {
+
// These next two strings are shared secrets with the xcrunwrapper.sh to allow
// expansion of DeveloperDir and SDKRoot and runtime, since they aren't known
// until compile time on any given build machine.
@@ -78,10 +79,6 @@ public class AppleToolchain {
.put("GCC_WARN_UNUSED_VARIABLE", "-Wunused-variable")
.build();
- private AppleToolchain() {
- throw new UnsupportedOperationException("static-only");
- }
-
/**
* Returns the platform plist name (for example, iPhoneSimulator) for the platform corresponding
* to the value of {@code --ios_cpu} in the given configuration.