aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java
diff options
context:
space:
mode:
authorGravatar Cal Peyser <cpeyser@google.com>2016-01-29 20:29:42 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-02-01 09:45:51 +0000
commit2229c3b00ffcb9191949488d711056649085bd71 (patch)
treecbc252e9445f63e114378eec7a348c238345e7fd /src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java
parent191646d44dc8cf51391f5061fbf08a58e7706a03 (diff)
Clang linker invocations for objc link system libraries before frameworks on "--includes_prioritize_system_libs" flag.
-- MOS_MIGRATED_REVID=113387488
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.java10
1 files changed, 10 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 6c37619b5e..02e9338984 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
@@ -162,6 +162,16 @@ public class ObjcCommandLineOptions extends FragmentOptions {
)
public String xcodeOverrideWorkspaceRoot;
+ @Option(
+ name = "objc_includes_prioritize_system_libs",
+ defaultValue = "false",
+ category = "flags",
+ help =
+ "If set, the linker invocation will contain system library includes before framework"
+ + " includes."
+ )
+ public boolean prioritizeSystemLibsOverFrameworks;
+
@VisibleForTesting static final String DEFAULT_MINIMUM_IOS = "7.0";
@Override