Skip to content

Commit 166771e

Browse files
googlewaltcopybara-github
authored andcommitted
Delete --apple_sdk arg
This flag does nothing. It was used for objc header thinning only, and that feature has been deleted. RELNOTES[INC]: --apple_sdk has been deleted. It is a no-op. PiperOrigin-RevId: 388448465
1 parent 87607e3 commit 166771e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
package com.google.devtools.build.lib.rules.objc;
1616

17-
import com.google.devtools.build.lib.analysis.config.CoreOptionConverters.LabelConverter;
1817
import com.google.devtools.build.lib.analysis.config.FragmentOptions;
19-
import com.google.devtools.build.lib.cmdline.Label;
2018
import com.google.devtools.build.lib.rules.apple.DottedVersion;
2119
import com.google.devtools.build.lib.rules.apple.DottedVersionConverter;
2220
import com.google.devtools.common.options.Converters.CommaSeparatedOptionListConverter;
@@ -184,18 +182,6 @@ public class ObjcCommandLineOptions extends FragmentOptions {
184182
)
185183
public boolean deviceDebugEntitlements;
186184

187-
@Option(
188-
name = "apple_sdk",
189-
defaultValue = "null",
190-
converter = LabelConverter.class,
191-
documentationCategory = OptionDocumentationCategory.TOOLCHAIN,
192-
effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.LOADING_AND_ANALYSIS},
193-
help =
194-
"Location of target that will provide the appropriate Apple SDK for the current build "
195-
+ "configuration."
196-
)
197-
public Label appleSdk;
198-
199185
@Option(
200186
name = "incompatible_avoid_hardcoded_objc_compilation_flags",
201187
defaultValue = "false",

0 commit comments

Comments
 (0)