diff options
author | 2018-05-30 14:34:50 -0700 | |
---|---|---|
committer | 2018-05-30 14:36:16 -0700 | |
commit | a9eb2403e2832859cbce5e6a06f4142ea4acd9c8 (patch) | |
tree | fcfb3d5e2a9b7f46b8498824ce4c6cc3a9f34b2c /src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java | |
parent | a8a8e7a0e979a8e4cf14c32471ad349a1b7d47cc (diff) |
Remove the non_propagated_deps attribute from objc_library and apple_binary. This was a workaround created to deal with duplicated symbol errors, but there are now better ways to avoid them than using this attribute.
RELNOTES: non_propagated_deps has been removed from objc_library and apple_binary.
PiperOrigin-RevId: 198620886
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java index ab4197c3ef..f510105dd6 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java @@ -667,18 +667,6 @@ public class ObjcRuleClasses { .direct_compile_time_input() .allowedRuleClasses("objc_framework") .allowedFileTypes()) - /* <!-- #BLAZE_RULE($objc_compiling_rule).ATTRIBUTE(non_propagated_deps) --> - The list of targets that are required in order to build this target, - but which are not included in the final bundle. - This attribute should only rarely be used, and probably only for proto - dependencies. - <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ - .add( - attr("non_propagated_deps", LABEL_LIST) - .direct_compile_time_input() - .allowedRuleClasses(ALLOWED_CC_DEPS_RULE_CLASSES) - .mandatoryProviders(ObjcProvider.SKYLARK_CONSTRUCTOR.id()) - .allowedFileTypes()) /* <!-- #BLAZE_RULE($objc_compiling_rule).ATTRIBUTE(defines) --> Extra <code>-D</code> flags to pass to the compiler. They should be in the form <code>KEY=VALUE</code> or simply <code>KEY</code> and are @@ -975,19 +963,6 @@ public class ObjcRuleClasses { Extra flags to pass to the linker. <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ .add(attr("linkopts", STRING_LIST)) - /* <!-- #BLAZE_RULE($apple_multiarch_rule).ATTRIBUTE(non_propagated_deps) --> - The list of targets that are required in order to build this target, - but which are not included in the final binary. - This attribute should only rarely be used, and probably only for proto - dependencies. - <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ - .add( - attr("non_propagated_deps", LABEL_LIST) - .direct_compile_time_input() - .allowedRuleClasses(ALLOWED_CC_DEPS_RULE_CLASSES) - .mandatoryProviders(ObjcProvider.SKYLARK_CONSTRUCTOR.id()) - .cfg(splitTransitionProvider) - .allowedFileTypes()) .add( attr("$j2objc_dead_code_pruner", LABEL) .allowedFileTypes(FileType.of(".py")) |