diff options
author | 2016-05-24 21:10:27 +0000 | |
---|---|---|
committer | 2016-05-25 08:35:36 +0000 | |
commit | f945a0c70f46588ce1203d39824377f5c399358e (patch) | |
tree | 13fe9d1626787d8850fc66c5a994e7690f90952a /src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java | |
parent | 1164a4f9db8d2b66d005bfa340ed76fd5f89fb00 (diff) |
Support for gathering all the protos seen in the transitive closure of dependencies through the ObjcProtoAspect, compiling and linking the generated protos at the final linking target. This is only enabled for objc_proto_libraries using the portable_proto_filters attribute, and guarded with the "--experimental_auto_top_level_union_objc_protos" flag. This prevents duplicate symbol errors as the generated sources are only linked once.
--
MOS_MIGRATED_REVID=123144532
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.java | 3 |
1 files changed, 2 insertions, 1 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 6d4f47552f..7cf1fcf323 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 @@ -193,6 +193,7 @@ public class ObjcCommandLineOptions extends FragmentOptions { ) public Label extraEntitlements; + // TODO(b/28451644): Make this option the default behavior. @Option( name = "experimental_auto_top_level_union_objc_protos", defaultValue = "false", @@ -212,7 +213,7 @@ public class ObjcCommandLineOptions extends FragmentOptions { + "when signing." ) public boolean deviceDebugEntitlements; - + @VisibleForTesting static final String DEFAULT_MINIMUM_IOS = "7.0"; @SuppressWarnings("unchecked") |