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 |
} |