diff options
author | 2016-12-21 16:23:35 +0000 | |
---|---|---|
committer | 2016-12-21 17:24:29 +0000 | |
commit | d83e7ef2485c8fe2d9dc8ca938f694b34d824ed2 (patch) | |
tree | 7af15a812049dad9bf123de89ea22d71f370ab71 /src/main/java/com/google/devtools/build/lib/rules | |
parent | 1672c76fbc9b8cbcd4f251178d17f44039eb3353 (diff) |
Remove --experimental_disable_native_swift_rules flag.
--
PiperOrigin-RevId: 142666176
MOS_MIGRATED_REVID=142666176
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java | 9 | ||||
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/apple/AppleConfiguration.java | 9 |
2 files changed, 0 insertions, 18 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 76f8551693..648e3963a4 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 @@ -204,15 +204,6 @@ public class AppleCommandLineOptions extends FragmentOptions { ) public Label xcodeVersionConfig; - // TODO(b/30281236): Remove the flag after deprecation. - @Option( - name = "experimental_disable_native_swift_rules", - defaultValue = "false", - category = "undocumented", - help = "Disables Swift support in native objc_ rules." - ) - public boolean disableNativeSwiftRules; - /** * The default label of the build-wide {@code xcode_config} configuration rule. This can be * changed from the default using the {@code xcode_version_config} build flag. diff --git a/src/main/java/com/google/devtools/build/lib/rules/apple/AppleConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/apple/AppleConfiguration.java index dead06ae7c..34a6a05664 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/apple/AppleConfiguration.java +++ b/src/main/java/com/google/devtools/build/lib/rules/apple/AppleConfiguration.java @@ -86,7 +86,6 @@ public class AppleConfiguration extends BuildConfiguration.Fragment { private final Label xcodeConfigLabel; @Nullable private final String xcodeToolchain; @Nullable private final Label defaultProvisioningProfileLabel; - private final boolean disableNativeSwiftRules; AppleConfiguration(AppleCommandLineOptions appleOptions, Optional<DottedVersion> xcodeVersionOverride, @@ -129,7 +128,6 @@ public class AppleConfiguration extends BuildConfiguration.Fragment { Preconditions.checkNotNull(appleOptions.xcodeVersionConfig, "xcodeConfigLabel"); this.defaultProvisioningProfileLabel = appleOptions.defaultProvisioningProfile; this.xcodeToolchain = appleOptions.xcodeToolchain; - this.disableNativeSwiftRules = appleOptions.disableNativeSwiftRules; } /** @@ -533,13 +531,6 @@ public class AppleConfiguration extends BuildConfiguration.Fragment { } /** - * Whether the native Swift support should be disabled. Used to deprecate said functionality. - */ - public boolean disableNativeSwiftRules() { - return disableNativeSwiftRules; - } - - /** * Loads {@link AppleConfiguration} from build options. */ public static class Loader implements ConfigurationFragmentFactory { |