Skip to content

Commit

Permalink
Delete --deprecated_generate_xcode_project.
Browse files Browse the repository at this point in the history
This flag has been a noop for a while.

RELNOTES[INC]: Noop flag --deprecated_generate_xcode_project deleted.

PiperOrigin-RevId: 165199302
  • Loading branch information
aragos authored and iirina committed Aug 16, 2017
1 parent 26c69e9 commit fc6412c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,18 +239,6 @@ public class ObjcCommandLineOptions extends FragmentOptions {
)
public boolean deviceDebugEntitlements;

@Option(
name = "deprecated_generate_xcode_project",
defaultValue = "false",
category = "flags",
documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
effectTags = {OptionEffectTag.UNKNOWN},
metadataTags = {OptionMetadataTag.DEPRECATED},
help =
"If set, will generate xcode project for targets that support this. Will be removed soon."
)
public boolean generateXcodeProject;

/** Specifies the circumstances under which a CROSSTOOL is used for objc in this configuration. */
public enum ObjcCrosstoolMode {
/** The CROSSTOOL is used for all objc compile, archive, and link actions. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public class ObjcConfiguration extends BuildConfiguration.Fragment {
private final int objcHeaderThinningPartitionSize;
private final Label objcHeaderScannerTool;
private final Label appleSdk;
private final boolean generateXcodeProject;

ObjcConfiguration(ObjcCommandLineOptions objcOptions, BuildConfiguration.Options options,
@Nullable BlazeDirectories directories) {
Expand Down Expand Up @@ -116,7 +115,6 @@ public class ObjcConfiguration extends BuildConfiguration.Fragment {
this.objcHeaderThinningPartitionSize = objcOptions.objcHeaderThinningPartitionSize;
this.objcHeaderScannerTool = objcOptions.objcHeaderScannerTool;
this.appleSdk = objcOptions.appleSdk;
this.generateXcodeProject = objcOptions.generateXcodeProject;
}

/**
Expand Down Expand Up @@ -333,11 +331,4 @@ public Label getObjcHeaderScannerTool() {
public Label getAppleSdk() {
return appleSdk;
}

/**
* Returns {@code true} if an xcodegen project should be added to a target's files to build.
*/
public boolean generateXcodeProject() {
return this.generateXcodeProject;
}
}

0 comments on commit fc6412c

Please sign in to comment.