diff options
author | 2017-02-22 23:27:47 +0000 | |
---|---|---|
committer | 2017-02-23 11:31:27 +0000 | |
commit | 766a581ac53f9a45207aabfc149cbc39c2539d3c (patch) | |
tree | a1093d21c3e7ad0dfc2c9ee6ccf8990eb58bdb76 /src/main/java/com/google/devtools/build/lib/rules/apple | |
parent | 3611fb2d7c075604375258df7c260d3e41e4c42e (diff) |
APPLE_CROSSTOOL distinguisher is not applied if --apple_crosstool_transition is true.
--
PiperOrigin-RevId: 148277221
MOS_MIGRATED_REVID=148277221
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/AppleCommandLineOptions.java | 8 |
1 files changed, 8 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 bba468d3a2..7438c3a52f 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 @@ -278,6 +278,14 @@ public class AppleCommandLineOptions extends FragmentOptions { ) public boolean enableAppleCrosstoolTransition; + @Option( + name = "target_uses_apple_crosstool", + defaultValue = "false", + category = "undocumented", + help = "If true, this target uses the apple crosstool. Do not set this flag manually." + ) + public boolean targetUsesAppleCrosstool; + private Platform getPlatform() { for (String architecture : iosMultiCpus) { if (Platform.forTarget(PlatformType.IOS, architecture) == Platform.IOS_DEVICE) { |