diff options
author | 2018-02-02 16:55:02 -0800 | |
---|---|---|
committer | 2018-02-02 16:56:55 -0800 | |
commit | c552dca3c2cbf3bb67c34eb41495b1d52f8ac4d1 (patch) | |
tree | c40d4687b2460f877460effe88ccd8edf577de9f /src/main/java | |
parent | d070f70780ce616ad7a684bca3eebfd541ac16ef (diff) |
Remove documentation of android_local_test.{resource_files,assets,assets_dir}. They are not used and their usage is unsupported.
RELNOTES: None
PiperOrigin-RevId: 184354541
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/AndroidLocalTestBaseRule.java | 34 |
1 files changed, 9 insertions, 25 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 ecf4e5a518..0ef779b4f2 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,31 +129,15 @@ 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(resource_files) --> - The list of test resources to be packaged. This is typically a <code>glob</code> - of all files under the <code>res</code> directory. - <p> - Generated files (from genrules) can be referenced by - <a href="../build-ref.html#labels">Label</a> here as well. The only restriction is that - the generated outputs must be under the same "<code>res</code>" directory as any other - resource files that are included. It is rare to need this. - </p> - <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ - .add(attr("resource_files", LABEL_LIST).allowedFileTypes(FileTypeSet.ANY_FILE)) - /* <!-- #BLAZE_RULE($android_local_test_base).ATTRIBUTE(assets_dir) --> - The string giving the path to the files in <code>assets</code>. - The pair <code>assets</code> and <code>assets_dir</code> describe packaged - assets and either both attributes should be provided or neither of them. - <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ - .add(attr("assets_dir", STRING)) - /* <!-- #BLAZE_RULE($android_local_test_base).ATTRIBUTE(assets) --> - The list of test assets to be packaged. This is typically a <code>glob</code> of all files - under the <code>assets</code> directory. You can also reference other rules (any rule that - produces files) or exported files in the other packages, as long as all those files are - under the <code>assets_dir</code> directory in the corresponding package. It is rare to - need this. - <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ - .add(attr("assets", LABEL_LIST).allowedFileTypes(FileTypeSet.ANY_FILE)) + .add( + attr("resource_files", LABEL_LIST) + .allowedFileTypes(FileTypeSet.ANY_FILE) + .undocumented("soon to be unsupported behavior")) + .add(attr("assets_dir", STRING).undocumented("soon to be unsupported behavior")) + .add( + attr("assets", LABEL_LIST) + .allowedFileTypes(FileTypeSet.ANY_FILE) + .undocumented("soon to be unsupported behavior")) .build(); } |