From c552dca3c2cbf3bb67c34eb41495b1d52f8ac4d1 Mon Sep 17 00:00:00 2001 From: dannark Date: Fri, 2 Feb 2018 16:55:02 -0800 Subject: 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 --- .../rules/android/AndroidLocalTestBaseRule.java | 34 ++++++---------------- 1 file changed, 9 insertions(+), 25 deletions(-) (limited to 'src/main/java') 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 minSdkVersion tag in them. */ .add(attr("manifest", LABEL).allowedFileTypes(FileTypeSet.ANY_FILE)) - /* - The list of test resources to be packaged. This is typically a glob - of all files under the res directory. -

- Generated files (from genrules) can be referenced by - Label here as well. The only restriction is that - the generated outputs must be under the same "res" directory as any other - resource files that are included. It is rare to need this. -

- */ - .add(attr("resource_files", LABEL_LIST).allowedFileTypes(FileTypeSet.ANY_FILE)) - /* - The string giving the path to the files in assets. - The pair assets and assets_dir describe packaged - assets and either both attributes should be provided or neither of them. - */ - .add(attr("assets_dir", STRING)) - /* - The list of test assets to be packaged. This is typically a glob of all files - under the assets 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 assets_dir directory in the corresponding package. It is rare to - need this. - */ - .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(); } -- cgit v1.2.3