diff options
author | 2017-06-02 13:42:16 -0400 | |
---|---|---|
committer | 2017-06-05 10:18:37 -0400 | |
commit | 4981dae7ef99b8ae8574ae570650c009b1f085c9 (patch) | |
tree | b231d5f95915d4e8e9358db7f5caf5e32f84410b /src | |
parent | 18dc43f1e11f61fd0c3f70e7b198e536d86c82e5 (diff) |
Set host apple platform type to MACOS
RELNOTES: None.
PiperOrigin-RevId: 157847930
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java b/src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java index 23977e16b0..3e5e1e22f6 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java @@ -439,6 +439,10 @@ public class AppleCommandLineOptions extends FragmentOptions { host.tvOsSdkVersion = tvOsSdkVersion; host.macOsSdkVersion = macOsSdkVersion; host.appleBitcodeMode = appleBitcodeMode; + // The host apple platform type will always be MACOS, as no other apple platform type can + // currently execute build actions. If that were the case, a host_apple_platform_type flag might + // be needed. + host.applePlatformType = PlatformType.MACOS; return host; } |