aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/xcode-common
diff options
context:
space:
mode:
authorGravatar Chris Parsons <cparsons@google.com>2015-11-18 22:39:48 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-11-19 10:04:30 +0000
commit181010eeb9535003cc934050a89fa76700f7e60e (patch)
tree4d48f490f5cdd4977bca7bf7be106d3415707ff9 /src/tools/xcode-common
parent6f09a5d5e4b9b7b508542a5d62d961e3a077868e (diff)
Propagate apple platform environment variables for CppCompileAction
-- MOS_MIGRATED_REVID=108182745
Diffstat (limited to 'src/tools/xcode-common')
-rw-r--r--src/tools/xcode-common/java/com/google/devtools/build/xcode/common/Platform.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/xcode-common/java/com/google/devtools/build/xcode/common/Platform.java b/src/tools/xcode-common/java/com/google/devtools/build/xcode/common/Platform.java
index 5530276c78..5ba089bb80 100644
--- a/src/tools/xcode-common/java/com/google/devtools/build/xcode/common/Platform.java
+++ b/src/tools/xcode-common/java/com/google/devtools/build/xcode/common/Platform.java
@@ -24,7 +24,9 @@ import java.util.Set;
* An enum that can be used to distinguish between various apple platforms.
*/
public enum Platform {
- IOS_DEVICE("iPhoneOS"), IOS_SIMULATOR("iPhoneSimulator");
+ IOS_DEVICE("iPhoneOS"),
+ IOS_SIMULATOR("iPhoneSimulator"),
+ MACOSX("MacOSX");
private static final Set<String> IOS_SIMULATOR_ARCHS = ImmutableSet.of("i386", "x86_64");
private static final Set<String> IOS_DEVICE_ARCHS =