Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1212)

Unified Diff: base/android/java/templates/BuildConfig.template

Issue 2404253003: Reland #2 of Fix monochrome not booting issue (Closed)
Patch Set: Change default back to loading locales from disk Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
This is Rietveld 408576698