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

Unified Diff: build/config/android/rules.gni

Issue 1181953002: Load non-locale .pak files directly from the .apk on Android (rather than extracting on start-up). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@raw-paks
Patch Set: yfriedman review comments Created 5 years, 6 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: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 96cbe44f1ca6d5a8ddd2d78217e4f6ab2360c15b..e6e12f00811552efcfc48189c39d6467ebf800c3 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -1669,8 +1669,10 @@ template("android_apk") {
if (defined(invoker.extensions_to_not_compress)) {
extensions_to_not_compress = invoker.extensions_to_not_compress
} else {
- # Allow icu data and v8 snapshots to be loaded directly from the .apk.
- extensions_to_not_compress = "dat,bin"
+ # Allow icu data, v8 snapshots, and pak files to be loaded directly from
+ # the .apk.
+ # Note: These are actually suffix matches, not necessarily extensions.
+ extensions_to_not_compress = ".dat,.bin,.pak"
}
version_code = _version_code

Powered by Google App Engine
This is Rietveld 408576698