diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java index 56ea050514..f9bf55dd9b 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java @@ -400,18 +400,15 @@ public final class AndroidRuleClasses { /* <!-- #BLAZE_RULE($android_resource_support).ATTRIBUTE(manifest) --> The name of the Android manifest file, normally <code>AndroidManifest.xml</code>. Must be defined if resource_files or assets are defined. - ${SYNOPSIS} <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("manifest", LABEL).legacyAllowAnyFileType()) /* <!-- #BLAZE_RULE($android_resource_support).ATTRIBUTE(exports_manifest) --> Whether to export manifest entries to <code>android_binary</code> targets that depend on this target. <code>uses-permissions</code> attributes are never exported. - ${SYNOPSIS} <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("exports_manifest", BOOLEAN).value(false)) /* <!-- #BLAZE_RULE($android_resource_support).ATTRIBUTE(resource_files) --> The list of resources to be packaged. - ${SYNOPSIS} This is typically a <code>glob</code> of all files under the <code>res</code> directory. <br/> @@ -423,14 +420,12 @@ public final class AndroidRuleClasses { .add(attr("resource_files", LABEL_LIST).legacyAllowAnyFileType()) /* <!-- #BLAZE_RULE($android_resource_support).ATTRIBUTE(assets_dir) --> The string giving the path to the files in <code>assets</code>. - ${SYNOPSIS} The pair <code>assets</code> and <code>assets_dir</code> describe packaged assets and either both attributes should be provided or none of them. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("assets_dir", STRING)) /* <!-- #BLAZE_RULE($android_resource_support).ATTRIBUTE(assets) --> The list of assets to be packaged. - ${SYNOPSIS} 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 @@ -439,7 +434,6 @@ public final class AndroidRuleClasses { .add(attr("assets", LABEL_LIST).legacyAllowAnyFileType()) /* <!-- #BLAZE_RULE($android_resource_support).ATTRIBUTE(inline_constants) --> Let the compiler inline the constants defined in the generated java sources. - ${SYNOPSIS} This attribute must be set to 0 for all <code>android_library</code> rules used directly by an <code>android_binary</code>, and for any <code>android_binary</code> that has an <code>android_library</code> @@ -448,7 +442,6 @@ public final class AndroidRuleClasses { .add(attr("inline_constants", BOOLEAN).value(false)) /* <!-- #BLAZE_RULE($android_resource_support).ATTRIBUTE(custom_package) --> Java package for which java sources will be generated. - ${SYNOPSIS} By default the package is inferred from the directory where the BUILD file containing the rule is. You can specify a different package but this is highly discouraged since it can introduce classpath conflicts with other @@ -480,7 +473,6 @@ public final class AndroidRuleClasses { .value(ANDROID_SDK)) /* <!-- #BLAZE_RULE($android_base).ATTRIBUTE(plugins) --> Java compiler plugins to run at compile-time. - ${SYNOPSIS} Every <code>java_plugin</code> specified in the plugins attribute will be run whenever this target is built. Resources generated by @@ -496,7 +488,6 @@ public final class AndroidRuleClasses { .value(JavaSemantics.JAVA_PLUGINS)) /* <!-- #BLAZE_RULE($android_base).ATTRIBUTE(javacopts) --> Extra compiler options for this target. - ${SYNOPSIS} Subject to <a href="make-variables.html">"Make variable"</a> substitution and <a href="common-definitions.html#sh-tokenization">Bourne shell tokenization</a>. <p> @@ -532,7 +523,6 @@ public final class AndroidRuleClasses { return builder /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(srcs) --> The list of source files that are processed to create the target. - ${SYNOPSIS} <p><code>srcs</code> files of type <code>.java</code> are compiled. <em>For readability's sake</em>, it is not good to put the name of a generated <code>.java</code> source file into the <code>srcs</code>. @@ -551,7 +541,6 @@ public final class AndroidRuleClasses { .allowedFileTypes(JavaSemantics.JAVA_SOURCE, JavaSemantics.SOURCE_JAR)) /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(deps) --> The list of other libraries to be linked in to the binary target. - ${SYNOPSIS} Permitted library types are: <code>android_library</code>, <code>java_library</code> with <code>android</code> constraint and <code>cc_library</code> wrapping or producing <code>.so</code> native libraries for the @@ -584,14 +573,12 @@ public final class AndroidRuleClasses { .value(DEFAULT_INCREMENTAL_SPLIT_STUB_APPLICATION)) /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(dexopts) --> Additional command-line flags for the dx tool when generating classes.dex. - ${SYNOPSIS} Subject to <a href="make-variables.html">"Make variable"</a> substitution and <a href="common-definitions.html#sh-tokenization">Bourne shell tokenization</a>. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("dexopts", STRING_LIST)) /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(dex_shards) --> Number of shards dexing should be decomposed into. - ${SYNOPSIS} This is makes dexing much faster at the expense of app installation and startup time. The larger the binary, the more shards should be used. 25 is a good value to start experimenting with. @@ -602,7 +589,6 @@ public final class AndroidRuleClasses { .add(attr("dex_shards", INTEGER).value(1)) /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(main_dex_list_opts) --> Command line options to pass to the main dex list builder. - ${SYNOPSIS} Use this option to affect the classes included in the main dex list. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("main_dex_list_opts", STRING_LIST)) @@ -615,26 +601,22 @@ android/support/multidex/MultiDex.class android/support/multidex/MultiDexApplication.class com/google/common/base/Objects.class </pre> - ${SYNOPSIS} Must be used with <code>multidex="manual_main_dex"</code>. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("main_dex_list", LABEL).legacyAllowAnyFileType()) /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(main_dex_proguard_specs) --> Files to be used as the Proguard specifications to determine classes that must be kept in the main dex. - ${SYNOPSIS} Only allowed if the <code>multidex</code> attribute is set to <code>legacy</code>. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("main_dex_proguard_specs", LABEL_LIST).legacyAllowAnyFileType()) /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(proguard_specs) --> Files to be used as Proguard specification. - ${SYNOPSIS} This file will describe the set of specifications to be used by Proguard. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("proguard_specs", LABEL_LIST).legacyAllowAnyFileType()) /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(proguard_generate_mapping) --> Whether to generate Proguard mapping file. - ${SYNOPSIS} The mapping file will be generated only if <code>proguard_specs</code> is specified. This file will list the mapping between the original and obfuscated class, method, and field names. @@ -646,7 +628,6 @@ com/google/common/base/Objects.class .nonconfigurable("value is referenced in an ImplicitOutputsFunction")) /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(proguard_apply_mapping) --> File to be used as a mapping for proguard. - ${SYNOPSIS} A mapping file generated by <code>proguard_generate_mapping</code> to be re-used to apply the same mapping to a new build. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ @@ -654,7 +635,6 @@ com/google/common/base/Objects.class /* <!-- #BLAZE_RULE($android_binary_base).ATTRIBUTE(legacy_native_support) --> Enables legacy native support, where pre-compiled native libraries are copied directly into the APK. - ${SYNOPSIS} Possible values: <ul> <li><code>legacy_native_support = 1</code>: Pre-built .so files found in the |