Index: base/android/java/templates/BuildConfig.template |
diff --git a/base/android/java/templates/BuildConfig.template b/base/android/java/templates/BuildConfig.template |
index e135e2400b213d417b720509755eae0c7b20ad56..16f02f6a6cf7daf43ec8db98f43303a435d1f3bf 100644 |
--- a/base/android/java/templates/BuildConfig.template |
+++ b/base/android/java/templates/BuildConfig.template |
@@ -29,4 +29,21 @@ public class BuildConfig { |
public static final boolean DCHECK_IS_ON = false; |
#endif |
+ // Sorted list of locales that have a compressed .pak within assets. |
+ // Stored as an array because AssetManager.list() is slow. |
+ public static final String[] COMPRESSED_LOCALES = |
+#if defined(COMPRESSED_LOCALE_LIST) |
+ COMPRESSED_LOCALE_LIST; |
+#else |
+ {}; |
+#endif |
+ |
+ // Sorted list of locales that have an uncompressed .pak within assets. |
+ // Stored as an array because AssetManager.list() is slow. |
+ public static final String[] UNCOMPRESSED_LOCALES = |
+#if defined(UNCOMPRESSED_LOCALE_LIST) |
+ UNCOMPRESSED_LOCALE_LIST; |
+#else |
+ {}; |
+#endif |
} |