aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java
diff options
context:
space:
mode:
authorGravatar Peter Schmitt <schmitt@google.com>2017-02-10 22:50:29 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2017-02-13 11:33:51 +0000
commit827bb31824c422edbe7e0fa0f902dc6ff83b957b (patch)
treedd06c80c0201cba24da307d164f3feaf7dda2b01 /src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java
parentb95d4a9cf562f4a6626f5fe2dfe54000e1e51062 (diff)
Add flag to disable automatic xcodeproj generation.
RELNOTES: Removed .xcodeproj automatic output from objc rules. It can still be generated by requesting it explicitly on the command line. -- PiperOrigin-RevId: 147202001 MOS_MIGRATED_REVID=147202001
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java9
1 files changed, 9 insertions, 0 deletions
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 6c9800fbc8..2c4dccca31 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
@@ -214,6 +214,15 @@ public class ObjcCommandLineOptions extends FragmentOptions {
)
public boolean deviceDebugEntitlements;
+ @Option(
+ name = "deprecated_generate_xcode_project",
+ defaultValue = "true",
+ category = "flags",
+ 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.
*/