Use provider requirement instead of rule name for runtime_deps attribute.
This change is required for the migration of objc_framework to the new Starlark apple_framework_import. By using providers instead of rule names, this attribute will be more flexible in which rules it accepts.
RELNOTES: None
@@ -667,7 +667,7 @@ public class ObjcRuleClasses {
.add(
attr("runtime_deps", LABEL_LIST)
.direct_compile_time_input()
- .allowedRuleClasses("objc_framework")
+ .mandatoryProviders(AppleDynamicFrameworkInfo.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
