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

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

Issue 2396073002: Store only locale paks rather than all assets within BuildConfig.java (Closed)
Patch Set: remove unused constant 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 a9040ab951130288b4a0c6161ae72191068761a1..16f02f6a6cf7daf43ec8db98f43303a435d1f3bf 100644
--- a/base/android/java/templates/BuildConfig.template
+++ b/base/android/java/templates/BuildConfig.template
@@ -29,18 +29,20 @@ public class BuildConfig {
public static final boolean DCHECK_IS_ON = false;
#endif
- // Sorted list of compressed assets contained in the apk (AssetManager.list() is slow).
- public static final String[] COMPRESSED_ASSETS =
-#if defined(COMPRESSED_ASSETS_LIST)
- COMPRESSED_ASSETS_LIST;
+ // 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 uncompressed assets contained in the apk (AssetManager.list() is slow).
- public static final String[] UNCOMPRESSED_ASSETS =
-#if defined(UNCOMPRESSED_ASSETS_LIST)
- UNCOMPRESSED_ASSETS_LIST;
+ // 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
« no previous file with comments | « base/android/java/src/org/chromium/base/ResourceExtractor.java ('k') | build/android/gyp/write_build_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698