Remove unused --extra_entitlements flag
This was never read
Closes #9427.
PiperOrigin-RevId: 272013891
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java
index f6e15e7..cc46506 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java
@@ -202,18 +202,6 @@
public boolean debugWithGlibcxx;
@Option(
- name = "extra_entitlements",
- defaultValue = "null",
- converter = LabelConverter.class,
- documentationCategory = OptionDocumentationCategory.SIGNING,
- effectTags = {OptionEffectTag.CHANGES_INPUTS},
- help =
- "Location of a .entitlements file that is merged into any iOS signing action in this "
- + "build."
- )
- public Label extraEntitlements;
-
- @Option(
name = "device_debug_entitlements",
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.SIGNING,
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java
index 9ba7762..cc866c3 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcConfiguration.java
@@ -62,7 +62,6 @@
private final boolean moduleMapsEnabled;
@Nullable private final String signingCertName;
private final boolean debugWithGlibcxx;
- @Nullable private final Label extraEntitlements;
private final boolean deviceDebugEntitlements;
private final boolean enableAppleBinaryNativeProtos;
private final HeaderDiscovery.DotdPruningMode dotdPruningPlan;
@@ -92,7 +91,6 @@
this.moduleMapsEnabled = objcOptions.enableModuleMaps;
this.signingCertName = objcOptions.iosSigningCertName;
this.debugWithGlibcxx = objcOptions.debugWithGlibcxx;
- this.extraEntitlements = objcOptions.extraEntitlements;
this.deviceDebugEntitlements = objcOptions.deviceDebugEntitlements;
this.enableAppleBinaryNativeProtos = objcOptions.enableAppleBinaryNativeProtos;
this.dotdPruningPlan =
@@ -238,14 +236,6 @@
}
/**
- * Returns the extra entitlements plist specified as a flag or {@code null} if none was given.
- */
- @Nullable
- public Label getExtraEntitlements() {
- return extraEntitlements;
- }
-
- /**
* Returns whether device debug entitlements should be included when signing an application.
*
* <p>Note that debug entitlements will be included only if the --device_debug_entitlements flag