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

Issue 1193613002: Convert Android WebView to store locale .pak files as res/raw resources (Closed)

Created:
5 years, 6 months ago by agrieve
Modified:
5 years, 5 months ago
Reviewers:
Yaron, sadrul, Torne
CC:
chromium-reviews, erikwright+watch_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@no-extractor-init
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert Android WebView to store locale .pak files as res/raw resources Motivation for this is to have webview be consistent with chrome in how it bundles these. It does also have the side-effect of improving the look-up time for LocaleDataPakExists. BUG=371610 Committed: https://crrev.com/bffa19f30776f745fc5f6aef5881113781f3bd41 Cr-Commit-Position: refs/heads/master@{#336237}

Patch Set 1 #

Total comments: 6

Patch Set 2 : yaron review comments #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : fix findbugs warnings #

Patch Set 6 : actually fix findbugs #

Patch Set 7 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -156 lines) Patch
M android_webview/android_webview.gyp View 2 chunks +12 lines, -0 lines 0 comments Download
M android_webview/android_webview_tests.gypi View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M android_webview/apk/system_webview_apk_common.gypi View 1 2 3 4 5 4 chunks +1 line, -4 lines 0 comments Download
M android_webview/apk/system_webview_locales_paks.gypi View 2 chunks +0 lines, -56 lines 0 comments Download
M android_webview/browser/aw_browser_main_parts.cc View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java View 3 chunks +3 lines, -0 lines 0 comments Download
M android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java View 2 chunks +7 lines, -0 lines 0 comments Download
M base/android/java/src/org/chromium/base/ResourceExtractor.java View 1 2 3 4 5 7 chunks +23 lines, -59 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeMobileApplication.java View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java View 1 2 chunks +3 lines, -1 line 0 comments Download
M ui/android/java/src/org/chromium/ui/base/ResourceBundle.java View 1 2 3 4 5 1 chunk +71 lines, -13 lines 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 1 chunk +4 lines, -8 lines 0 comments Download
M ui/base/resource/resource_bundle_android.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M ui/base/resource/resource_bundle_android.cc View 1 2 1 chunk +8 lines, -5 lines 0 comments Download

Messages

Total messages: 46 (22 generated)
agrieve
yfriedman@chromium.org: Please review changes in */android sadrul@chromium.org: Please review changes in ui/ torne@chromium.org: Please review ...
5 years, 6 months ago (2015-06-17 20:20:55 UTC) #2
Torne
android_webview changes LGTM, but have you tested the actual system webview with these changes?
5 years, 6 months ago (2015-06-18 16:20:52 UTC) #3
Torne
android_webview changes LGTM, but have you tested the actual system webview with these changes?
5 years, 6 months ago (2015-06-18 16:20:54 UTC) #4
agrieve
On 2015/06/18 16:20:54, Torne wrote: > android_webview changes LGTM, but have you tested the actual ...
5 years, 6 months ago (2015-06-18 16:59:27 UTC) #5
Torne
On 2015/06/18 16:59:27, agrieve wrote: > On 2015/06/18 16:20:54, Torne wrote: > > android_webview changes ...
5 years, 6 months ago (2015-06-18 17:01:29 UTC) #6
Yaron
lgtm https://codereview.chromium.org/1193613002/diff/1/base/android/java/src/org/chromium/base/ResourceExtractor.java File base/android/java/src/org/chromium/base/ResourceExtractor.java (right): https://codereview.chromium.org/1193613002/diff/1/base/android/java/src/org/chromium/base/ResourceExtractor.java#newcode40 base/android/java/src/org/chromium/base/ResourceExtractor.java:40: private static ResourceEntry[] sMandatoryPaks = new ResourceEntry[0]; sResourcesToExtract ...
5 years, 6 months ago (2015-06-19 15:01:30 UTC) #7
agrieve
https://codereview.chromium.org/1193613002/diff/1/base/android/java/src/org/chromium/base/ResourceExtractor.java File base/android/java/src/org/chromium/base/ResourceExtractor.java (right): https://codereview.chromium.org/1193613002/diff/1/base/android/java/src/org/chromium/base/ResourceExtractor.java#newcode40 base/android/java/src/org/chromium/base/ResourceExtractor.java:40: private static ResourceEntry[] sMandatoryPaks = new ResourceEntry[0]; On 2015/06/19 ...
5 years, 6 months ago (2015-06-23 15:33:22 UTC) #8
sadrul
lgtm
5 years, 5 months ago (2015-06-24 18:20:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193613002/40001
5 years, 5 months ago (2015-06-24 23:05:35 UTC) #12
commit-bot: I haz the power
Exceeded global retry quota
5 years, 5 months ago (2015-06-24 23:10:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193613002/40001
5 years, 5 months ago (2015-06-24 23:51:54 UTC) #16
commit-bot: I haz the power
Exceeded global retry quota
5 years, 5 months ago (2015-06-24 23:55:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193613002/60001
5 years, 5 months ago (2015-06-25 00:10:43 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/90483)
5 years, 5 months ago (2015-06-25 01:10:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193613002/60001
5 years, 5 months ago (2015-06-25 02:39:10 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/90538)
5 years, 5 months ago (2015-06-25 03:31:15 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193613002/60001
5 years, 5 months ago (2015-06-25 12:30:20 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/90649)
5 years, 5 months ago (2015-06-25 13:20:50 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193613002/80001
5 years, 5 months ago (2015-06-25 15:22:43 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193613002/100001
5 years, 5 months ago (2015-06-25 15:27:56 UTC) #38
commit-bot: I haz the power
Failed to apply patch for chrome/android/java/src/org/chromium/chrome/browser/ChromeMobileApplication.java: While running git apply --index -3 -p1; error: patch ...
5 years, 5 months ago (2015-06-25 17:45:00 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193613002/120001
5 years, 5 months ago (2015-06-25 17:56:56 UTC) #44
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-06-25 19:55:46 UTC) #45
commit-bot: I haz the power
5 years, 5 months ago (2015-06-25 19:56:35 UTC) #46
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bffa19f30776f745fc5f6aef5881113781f3bd41
Cr-Commit-Position: refs/heads/master@{#336237}

Powered by Google App Engine
This is Rietveld 408576698