Skip to content

Commit

Permalink
Allows objc_* rules to depend on cc_inc_library.
Browse files Browse the repository at this point in the history
--
MOS_MIGRATED_REVID=102862462
  • Loading branch information
aragos authored and lberki committed Sep 11, 2015
1 parent f64cd44 commit ab09548
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,14 +593,16 @@ public Metadata getMetadata() {
* Common attributes for {@code objc_*} rules that contain compilable content.
*/
public static class CompilingRule implements RuleDefinition {
private static final Iterable<String> ALLOWED_DEPS_RULE_CLASSES = ImmutableSet.of(
"objc_library",
"objc_import",
"objc_framework",
"objc_proto_library",
"j2objc_library",
"cc_library",
"ios_framework");
private static final Iterable<String> ALLOWED_DEPS_RULE_CLASSES =
ImmutableSet.of(
"objc_library",
"objc_import",
"objc_framework",
"objc_proto_library",
"j2objc_library",
"cc_library",
"cc_inc_library",
"ios_framework");

@Override
public RuleClass build(Builder builder, RuleDefinitionEnvironment env) {
Expand Down

0 comments on commit ab09548

Please sign in to comment.