aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules
diff options
context:
space:
mode:
authorGravatar Chris Parsons <cparsons@google.com>2015-10-08 21:50:43 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-10-09 14:41:33 +0000
commit28160e7a89bc7738da1640e93ea9f4ca567c9c53 (patch)
tree535c74a9d70456aac7f82eb8b21ffe7ae6722beb /src/main/java/com/google/devtools/build/lib/rules
parent37272108a4deb03720c65b4ad9b6fc29f43de327 (diff)
For standalone spawn strategy (local execution), bootstrap ios SDKROOT (determined from xcrun) for applicable actions
-- MOS_MIGRATED_REVID=105000617
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java
index 3af0e97d6c..b420b47848 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java
@@ -49,8 +49,16 @@ public class ObjcConfiguration extends BuildConfiguration.Fragment {
"-Os", "-DNDEBUG=1", "-Wno-unused-variable", "-Winit-self", "-Wno-extra");
private static final String XCODE_VERSION_ENV_NAME = "XCODE_VERSION_OVERRIDE";
- private static final String IOS_SDK_VERSION_ENV_NAME = "IOS_SDK_VERSION_OVERRIDE";
- private static final String APPLE_SDK_PLATFORM_ENV_NAME = "APPLE_SDK_PLATFORM";
+ /**
+ * Environment variable name for the iOS SDK version. If unset, uses the system default of the
+ * host.
+ **/
+ public static final String IOS_SDK_VERSION_ENV_NAME = "IOS_SDK_VERSION_OVERRIDE";
+ /**
+ * Environment variable name for the apple SDK platform. This should be set for all actions that
+ * require an apple SDK. The valid values consist of {@link Platform} names.
+ **/
+ public static final String APPLE_SDK_PLATFORM_ENV_NAME = "APPLE_SDK_PLATFORM";
private final String iosSdkVersion;
private final String iosMinimumOs;