|
Reland of Move language pak files to assets.
Reverted by:
https://codereview.chromium.org/2369683002/
Reason for reland:
I've reworked it so that:
1. The list of pak files to extract are not set on start-up, but rather lazy initialized
2. This is done by putting the list of locale assets right in base's BuildConfig.java
3. Downstream parts have been upstreams so that this won't require a 2-sided patch
Language pak files were moved to res/raw when split apks was being implemented.
Moving them to assets with a java constant keeping track of pak file locations
will improve lookup time and save some space (no more xml files and
resources.arsc).
Other notables:
- .pak filenames no longer mangled. No more .lpak. no more hyphens to _s
- Ensures that monochrome doesn't extract files by extracting only when
files are compressed.
BUG= 529604
Committed: https://crrev.com/67101cd0338a409d80689b9c9c875c95ccde7957
Cr-Commit-Position: refs/heads/master@{#422836}
Total comments: 2
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+141 lines, -443 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
android_webview/BUILD.gn
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java
|
View
|
1
2
3
4
5
6
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
android_webview/system_webview_apk_tmpl.gni
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
android_webview/test/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java
|
View
|
1
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/android/java/src/org/chromium/base/LocaleUtils.java
|
View
|
1
2
3
4
5
6
|
3 chunks |
+17 lines, -9 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/android/java/src/org/chromium/base/ResourceExtractor.java
|
View
|
1
2
3
4
5
6
|
9 chunks |
+32 lines, -42 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/android/java/templates/BuildConfig.template
|
View
|
1
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
blimp/client/app/android/java/src/org/chromium/blimp/BlimpApplication.java
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
blimp/client/app/android/java/src/org/chromium/blimp/BlimpLibraryLoader.java
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
build/android/gyp/locale_pak_resources.py
|
View
|
|
1 chunk |
+0 lines, -126 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
build/android/gyp/write_build_config.py
|
View
|
1
|
6 chunks |
+12 lines, -22 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
build/android/resource_sizes.py
|
View
|
1
2
3
4
5
|
2 chunks |
+21 lines, -12 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
build/config/android/internal_rules.gni
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
build/config/android/rules.gni
|
View
|
1
2
3
4
5
6
|
6 chunks |
+9 lines, -73 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/android/BUILD.gn
|
View
|
1
2
3
4
5
6
|
7 chunks |
+22 lines, -35 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/android/chrome_public_apk_tmpl.gni
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/public/android/java/src/org/chromium/content/app/ContentApplication.java
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
|
View
|
1
|
2 chunks |
+5 lines, -65 lines |
0 comments
|
Download
|
Total messages: 36 (14 generated)
|