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

Issue 2404253003: Reland #2 of Fix monochrome not booting issue (Closed)

Created:
4 years, 2 months ago by agrieve
Modified:
4 years, 2 months ago
Reviewers:
michaelbai, Ted C, michaelbai, Torne
CC:
chromium-reviews, nyquist+watch-blimp_chromium.org, android-webview-reviews_chromium.org, kmarshall+watch-blimp_chromium.org, agrieve+watch_chromium.org, shaktisahu+watch-blimp_chromium.org, cbentzel+watch_chromium.org, maniscalco+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, lcwu+watch_chromium.org, jam, gcasto+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org, lethalantidote+watch-blimp_chromium.org, jbudorick+watch_chromium.org, mlamouri+watch-content_chromium.org, halliwell+watch_chromium.org, Peter Beverloo, lizeb+watch-custom-tabs_chromium.org, alokp+watch_chromium.org, khushalsagar+watch-blimp_chromium.org, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org, scf+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, mikecase+watch_chromium.org, dtrainor+watch-blimp_chromium.org, estevenson, sgurun-gerrit only, nyquist, slan, xunjieli
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland #2 of Move language pak files to assets Reverted in: https://codereview.chromium.org/2406093002/ and https://codereview.chromium.org/2404043002 Reason for reland: Now auto-detects whether locale paks are compressed or stored (for chrome, but not webview) TBR=michaelbai BUG=653771, 644377, 529604 Committed: https://crrev.com/732f0d89ca9c435e2bddfcfcdb9b108fb9b7ac0d Cr-Commit-Position: refs/heads/master@{#425402}

Patch Set 1 #

Patch Set 2 : Use ui::SetLocalePaksStoredInApk(true) in monochrome entry point #

Total comments: 4

Patch Set 3 : Fix resource_sizes.py not categorizing webapk.dex as dex #

Patch Set 4 : auto-detect whether locales are compressed when running in chrome mode #

Patch Set 5 : Change default back to loading locales from disk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -463 lines) Patch
M android_webview/BUILD.gn View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java View 1 3 chunks +0 lines, -3 lines 0 comments Download
M android_webview/system_webview_apk_tmpl.gni View 1 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/test/BUILD.gn View 1 2 chunks +1 line, -2 lines 0 comments Download
M android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java View 1 2 chunks +0 lines, -12 lines 0 comments Download
M base/android/java/src/org/chromium/base/LocaleUtils.java View 1 3 chunks +17 lines, -9 lines 0 comments Download
M base/android/java/src/org/chromium/base/ResourceExtractor.java View 1 9 chunks +25 lines, -44 lines 0 comments Download
M base/android/java/templates/BuildConfig.template View 1 1 chunk +17 lines, -0 lines 0 comments Download
M blimp/client/app/android/java/src/org/chromium/blimp/BlimpApplication.java View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M blimp/client/app/android/java/src/org/chromium/blimp/BlimpLibraryLoader.java View 1 2 chunks +1 line, -2 lines 0 comments Download
D build/android/gyp/locale_pak_resources.py View 1 chunk +0 lines, -126 lines 0 comments Download
M build/android/gyp/write_build_config.py View 1 6 chunks +14 lines, -22 lines 0 comments Download
M build/android/resource_sizes.py View 1 2 2 chunks +20 lines, -11 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 1 chunk +0 lines, -7 lines 0 comments Download
M build/config/android/rules.gni View 1 6 chunks +9 lines, -73 lines 0 comments Download
M chrome/android/BUILD.gn View 1 2 7 chunks +22 lines, -35 lines 0 comments Download
M chrome/android/chrome_public_apk_tmpl.gni View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java View 1 3 chunks +0 lines, -11 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java View 1 1 chunk +1 line, -1 line 0 comments Download
D chrome/android/monochrome_repack_locales.gni View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/browser/chrome_browser_main_android.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/app/ContentApplication.java View 1 1 chunk +0 lines, -8 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/base/ResourceBundle.java View 1 2 chunks +4 lines, -68 lines 0 comments Download

Messages

Total messages: 39 (13 generated)
agrieve
Created Revert of Fix monochrome not booting issue
4 years, 2 months ago (2016-10-11 20:07:37 UTC) #1
agrieve
On 2016/10/11 20:07:37, agrieve wrote: > Created Revert of Fix monochrome not booting issue Tested ...
4 years, 2 months ago (2016-10-11 20:37:47 UTC) #3
michaelbai
https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc File chrome/browser/android/monochrome_entry_point.cc (right): https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc#newcode27 chrome/browser/android/monochrome_entry_point.cc:27: ui::SetLocalePaksStoredInApk(true); I still prefer not to do this, because ...
4 years, 2 months ago (2016-10-11 21:27:44 UTC) #10
agrieve
https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc File chrome/browser/android/monochrome_entry_point.cc (right): https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc#newcode27 chrome/browser/android/monochrome_entry_point.cc:27: ui::SetLocalePaksStoredInApk(true); On 2016/10/11 21:27:44, michaelbai wrote: > I still ...
4 years, 2 months ago (2016-10-12 02:27:26 UTC) #11
michaelbai
On 2016/10/12 02:27:26, agrieve wrote: > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc > File chrome/browser/android/monochrome_entry_point.cc (right): > > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc#newcode27 > ...
4 years, 2 months ago (2016-10-12 02:39:43 UTC) #12
agrieve
On 2016/10/12 02:39:43, michaelbai wrote: > On 2016/10/12 02:27:26, agrieve wrote: > > > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc ...
4 years, 2 months ago (2016-10-12 02:51:20 UTC) #13
Torne
LGTM https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc File chrome/browser/android/monochrome_entry_point.cc (right): https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc#newcode27 chrome/browser/android/monochrome_entry_point.cc:27: ui::SetLocalePaksStoredInApk(true); On 2016/10/12 02:27:25, agrieve wrote: > On ...
4 years, 2 months ago (2016-10-12 10:35:55 UTC) #14
michaelbai
https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc File chrome/browser/android/monochrome_entry_point.cc (right): https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc#newcode27 chrome/browser/android/monochrome_entry_point.cc:27: ui::SetLocalePaksStoredInApk(true); On 2016/10/12 02:27:25, agrieve wrote: > On 2016/10/11 ...
4 years, 2 months ago (2016-10-12 16:39:49 UTC) #15
Torne
On 2016/10/12 16:39:49, michaelbai wrote: > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc > File chrome/browser/android/monochrome_entry_point.cc (right): > > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc#newcode27 > ...
4 years, 2 months ago (2016-10-12 16:42:32 UTC) #16
michaelbai
On 2016/10/12 16:42:32, Torne wrote: > On 2016/10/12 16:39:49, michaelbai wrote: > > > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc ...
4 years, 2 months ago (2016-10-12 16:50:53 UTC) #17
agrieve
On 2016/10/12 16:39:49, michaelbai wrote: > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc > File chrome/browser/android/monochrome_entry_point.cc (right): > > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc#newcode27 > ...
4 years, 2 months ago (2016-10-12 16:59:45 UTC) #18
Torne
There is no good reason to treat Monochrome's Chrome and WebView entry points differently in ...
4 years, 2 months ago (2016-10-12 17:01:08 UTC) #19
michaelbai
On 2016/10/12 16:59:45, agrieve wrote: > On 2016/10/12 16:39:49, michaelbai wrote: > > > https://codereview.chromium.org/2404253003/diff/300001/chrome/browser/android/monochrome_entry_point.cc ...
4 years, 2 months ago (2016-10-12 17:08:20 UTC) #20
Torne
On 2016/10/12 17:08:20, michaelbai wrote: > First of all, I think we all agree that ...
4 years, 2 months ago (2016-10-12 17:13:32 UTC) #21
michaelbai
On 2016/10/12 17:13:32, Torne wrote: > On 2016/10/12 17:08:20, michaelbai wrote: > > First of ...
4 years, 2 months ago (2016-10-12 18:36:50 UTC) #22
Torne
OK; if you feel it doesn't belong in the entry point we can leave it ...
4 years, 2 months ago (2016-10-13 14:44:39 UTC) #23
michaelbai
On 2016/10/13 14:44:39, Torne wrote: > OK; if you feel it doesn't belong in the ...
4 years, 2 months ago (2016-10-13 16:07:53 UTC) #24
agrieve
On 2016/10/13 16:07:53, michaelbai wrote: > On 2016/10/13 14:44:39, Torne wrote: > > OK; if ...
4 years, 2 months ago (2016-10-14 14:44:12 UTC) #25
Torne
LGTM, sorry for the delay on this one Andrew :)
4 years, 2 months ago (2016-10-14 14:59:52 UTC) #26
michaelbai
thanks for update patch, LGTM with nit, the description needs update,
4 years, 2 months ago (2016-10-14 15:48:49 UTC) #27
michaelbai
Probably a potential issue, since the default value of flag is changed, g_locale_paks_in_apk = !g_locale_paks_on_disk, ...
4 years, 2 months ago (2016-10-14 16:04:20 UTC) #28
Ted C
On 2016/10/14 16:04:20, michaelbai wrote: > Probably a potential issue, since the default value of ...
4 years, 2 months ago (2016-10-14 16:22:13 UTC) #30
agrieve
On 2016/10/14 16:04:20, michaelbai wrote: > Probably a potential issue, since the default value of ...
4 years, 2 months ago (2016-10-14 17:44:09 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2404253003/360001
4 years, 2 months ago (2016-10-14 17:46:32 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:360001)
4 years, 2 months ago (2016-10-14 18:49:42 UTC) #37
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 18:55:09 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/732f0d89ca9c435e2bddfcfcdb9b108fb9b7ac0d
Cr-Commit-Position: refs/heads/master@{#425402}

Powered by Google App Engine
This is Rietveld 408576698