diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AndroidLocalTestBaseRule.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/AndroidLocalTestBaseRule.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLocalTestBaseRule.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLocalTestBaseRule.java index 0ef779b4f2..3d758f1fa9 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLocalTestBaseRule.java +++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidLocalTestBaseRule.java @@ -129,6 +129,12 @@ public class AndroidLocalTestBaseRule implements RuleDefinition { the libraries under test have a <code>minSdkVersion</code> tag in them. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("manifest", LABEL).allowedFileTypes(FileTypeSet.ANY_FILE)) + /* <!-- #BLAZE_RULE($android_local_test_base).ATTRIBUTE(custom_package) --> + Java package in which the R class will be generated. By default the package is inferred + from the directory where the BUILD file containing the rule is. If you use this attribute, + you will likely need to use <code>test_class</code> as well. + <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ + .add(attr("custom_package", STRING)) .add( attr("resource_files", LABEL_LIST) .allowedFileTypes(FileTypeSet.ANY_FILE) |