Skip to content

Commit

Permalink
Add tests attribute for non-test rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Patti committed Oct 21, 2019
1 parent 71894a3 commit eacbe17
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,10 @@ public static RuleClass.Builder commonCoreAndSkylarkAttributes(RuleClass.Builder
"special logic for constraints and select: see ConstraintSemantics"))
.add(
attr(RuleClass.CONFIG_SETTING_DEPS_ATTRIBUTE, LABEL_LIST)
.nonconfigurable("stores configurability keys"));
.nonconfigurable("stores configurability keys"))
.add(
attr("test_targets", NODEP_LABEL_LIST)
.orderIndependent());
}

public static RuleClass.Builder nameAttribute(RuleClass.Builder builder) {
Expand Down

0 comments on commit eacbe17

Please sign in to comment.