RELNOTES: Allow java_lite_proto_library in the deps of android rules.
PiperOrigin-RevId: 166147064
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 9f4cbfc..ff0f014 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
@@ -321,9 +321,10 @@
"cc_library",
"java_import",
"java_library",
+ "java_lite_proto_library",
};
- public static final boolean hasProguardSpecs(AttributeMap rule) {
+ public static boolean hasProguardSpecs(AttributeMap rule) {
// The below is a hack to support configurable attributes (proguard_specs seems like
// too valuable an attribute to make nonconfigurable, and we don't currently
// have the ability to know the configuration when determining implicit outputs).
@@ -949,7 +950,7 @@
/**
* Semantic options for the dexer's multidex behavior.
*/
- public static enum MultidexMode {
+ public enum MultidexMode {
// Build dexes with multidex, assuming native platform support for multidex.
NATIVE,
// Build dexes with multidex and implement support at the application level.