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

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

Issue 2371843002: Reland of Move language pak files to assets. (Closed)
Patch Set: Fix ContentShell context setPrivateDataPrefix that was breaking tests 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..a9040ab951130288b4a0c6161ae72191068761a1 100644
--- a/base/android/java/templates/BuildConfig.template
+++ b/base/android/java/templates/BuildConfig.template
@@ -29,4 +29,19 @@ 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;
+#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;
+#else
+ {};
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698