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

Issue 2235753002: Merge webviewchromium.pak and resources.pak in Monochrome (Closed)

Created:
4 years, 4 months ago by aberent
Modified:
4 years, 3 months ago
Reviewers:
michaelbai, jbudorick, sky, Torne
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Merge webviewchromium.pak and resources.pak in Monochrome This CL adds the webview specific resources to the Android version of resources.pak (adding roughly 2.1KB to it), and lets Webview read its resources from resources.pak if webviewchromium.pak doesn't exist. The following downstream CL will remove webviewchromium.pak from the Monochrome APk, reducing the size of this by 588KB. BUG=634358 Committed: https://crrev.com/9ad131f6da209e1dd6ee719ceee60b10c61a0261 Cr-Commit-Position: refs/heads/master@{#411066}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nit #

Patch Set 3 : upstream monochrome asset build #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -9 lines) Patch
M android_webview/BUILD.gn View 1 2 1 chunk +10 lines, -2 lines 0 comments Download
M android_webview/browser/aw_browser_main_parts.cc View 1 chunk +12 lines, -4 lines 0 comments Download
M chrome/BUILD.gn View 1 1 chunk +4 lines, -0 lines 2 comments Download
M ui/base/resource/resource_bundle_android.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/resource/resource_bundle_android.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 26 (10 generated)
aberent
torne@chromium.org: Please review all changes, including webview changes as owner sky@chromium.org: Owner review of resource_bundle_android.[ch] ...
4 years, 4 months ago (2016-08-10 13:48:16 UTC) #2
Torne
lgtm https://codereview.chromium.org/2235753002/diff/1/android_webview/browser/aw_browser_main_parts.cc File android_webview/browser/aw_browser_main_parts.cc (right): https://codereview.chromium.org/2235753002/diff/1/android_webview/browser/aw_browser_main_parts.cc#newcode116 android_webview/browser/aw_browser_main_parts.cc:116: if (!ui::LoadMainAndroidPackFile("assets/webviewchromium.pak", We don't have to do this ...
4 years, 4 months ago (2016-08-10 13:52:54 UTC) #3
jbudorick
BUILD.gn lgmt w/ nit https://codereview.chromium.org/2235753002/diff/1/chrome/BUILD.gn File chrome/BUILD.gn (right): https://codereview.chromium.org/2235753002/diff/1/chrome/BUILD.gn#newcode1411 chrome/BUILD.gn:1411: if (is_android) { nit: blank ...
4 years, 4 months ago (2016-08-10 14:44:08 UTC) #4
jbudorick
On 2016/08/10 14:44:08, jbudorick wrote: > BUILD.gn lgmt w/ nit when you try to do ...
4 years, 4 months ago (2016-08-10 14:44:54 UTC) #5
sky
LGTM
4 years, 4 months ago (2016-08-10 15:14:51 UTC) #6
sky
Also, we should really have better owners of the resource_bundle_android.
4 years, 4 months ago (2016-08-10 15:15:10 UTC) #7
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/2235753002/20001
4 years, 4 months ago (2016-08-10 15:31:35 UTC) #10
aberent
https://codereview.chromium.org/2235753002/diff/1/android_webview/browser/aw_browser_main_parts.cc File android_webview/browser/aw_browser_main_parts.cc (right): https://codereview.chromium.org/2235753002/diff/1/android_webview/browser/aw_browser_main_parts.cc#newcode116 android_webview/browser/aw_browser_main_parts.cc:116: if (!ui::LoadMainAndroidPackFile("assets/webviewchromium.pak", On 2016/08/10 13:52:54, Torne wrote: > We ...
4 years, 4 months ago (2016-08-10 16:04:20 UTC) #12
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/2235753002/40001
4 years, 4 months ago (2016-08-10 16:04:45 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/49547)
4 years, 4 months ago (2016-08-10 16:08:15 UTC) #17
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/2235753002/40001
4 years, 4 months ago (2016-08-10 16:34:50 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-10 17:31:01 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9ad131f6da209e1dd6ee719ceee60b10c61a0261 Cr-Commit-Position: refs/heads/master@{#411066}
4 years, 4 months ago (2016-08-10 17:32:52 UTC) #22
michaelbai
https://codereview.chromium.org/2235753002/diff/40001/chrome/BUILD.gn File chrome/BUILD.gn (right): https://codereview.chromium.org/2235753002/diff/40001/chrome/BUILD.gn#newcode1415 chrome/BUILD.gn:1415: } Will this add aw_resources to standaline Chrome?
4 years, 4 months ago (2016-08-22 22:29:38 UTC) #24
Torne
https://codereview.chromium.org/2235753002/diff/40001/chrome/BUILD.gn File chrome/BUILD.gn (right): https://codereview.chromium.org/2235753002/diff/40001/chrome/BUILD.gn#newcode1415 chrome/BUILD.gn:1415: } On 2016/08/22 22:29:37, michaelbai wrote: > Will this ...
4 years, 3 months ago (2016-08-26 13:56:37 UTC) #25
michaelbai
4 years, 3 months ago (2016-08-29 22:33:37 UTC) #26
Message was sent while issue was closed.
On 2016/08/26 13:56:37, Torne wrote:
> https://codereview.chromium.org/2235753002/diff/40001/chrome/BUILD.gn
> File chrome/BUILD.gn (right):
> 
>
https://codereview.chromium.org/2235753002/diff/40001/chrome/BUILD.gn#newcode...
> chrome/BUILD.gn:1415: }
> On 2016/08/22 22:29:37, michaelbai wrote:
> > Will this add aw_resources to standaline Chrome?
> 
> I think so, actually, yes.. oops. Maybe you could try to fix that?
> 
> I think there's only actually one resource in there, though?

Right, there is only one resource, sent you the fix

https://codereview.chromium.org/2295523002/

Powered by Google App Engine
This is Rietveld 408576698