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

Issue 2343083003: Add resource whitelisting to android_webview pak files. (Closed)

Created:
4 years, 3 months ago by agrieve
Modified:
4 years, 3 months ago
Reviewers:
michaelbai, estevenson, Nico
CC:
chromium-reviews, android-webview-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add resource whitelisting to android_webview pak files. This saves only 5kb off of webview's .apk. BUG=641032 Committed: https://crrev.com/425d550f2c0b578e8942ccd5fc257d3d35689125 Cr-Commit-Position: refs/heads/master@{#419622}

Patch Set 1 #

Patch Set 2 : added missing gni #

Patch Set 3 : add owners file #

Total comments: 10

Patch Set 4 : better docs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -26 lines) Patch
M android_webview/BUILD.gn View 1 2 3 7 chunks +35 lines, -1 line 0 comments Download
M android_webview/webview_repack_locales.gni View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/BUILD.gn View 1 2 2 chunks +4 lines, -24 lines 0 comments Download
A tools/resources/OWNERS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A tools/resources/generate_resource_whitelist.gni View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
agrieve
Not really saving much, but at least it's in place now. It should save much ...
4 years, 3 months ago (2016-09-16 19:39:04 UTC) #2
estevenson
On 2016/09/16 19:39:04, agrieve wrote: > Not really saving much, but at least it's in ...
4 years, 3 months ago (2016-09-17 19:01:55 UTC) #3
agrieve
On 2016/09/17 19:01:55, estevenson wrote: > On 2016/09/16 19:39:04, agrieve wrote: > > Not really ...
4 years, 3 months ago (2016-09-19 14:03:09 UTC) #4
agrieve
thakis@chromium.org: Please review changes in tools/
4 years, 3 months ago (2016-09-19 18:55:16 UTC) #6
michaelbai
https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn File android_webview/BUILD.gn (right): https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn#newcode435 android_webview/BUILD.gn:435: input = "$root_out_dir/libwebviewchromium$shlib_extension.whitelist" Sorry, I missed context here, could ...
4 years, 3 months ago (2016-09-19 19:06:14 UTC) #7
agrieve
https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn File android_webview/BUILD.gn (right): https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn#newcode435 android_webview/BUILD.gn:435: input = "$root_out_dir/libwebviewchromium$shlib_extension.whitelist" On 2016/09/19 19:06:13, michaelbai wrote: > ...
4 years, 3 months ago (2016-09-19 19:10:33 UTC) #8
Nico
lgtm, but: https://codereview.chromium.org/2343083003/diff/40001/tools/resources/generate_resource_whitelist.gni File tools/resources/generate_resource_whitelist.gni (right): https://codereview.chromium.org/2343083003/diff/40001/tools/resources/generate_resource_whitelist.gni#newcode4 tools/resources/generate_resource_whitelist.gni:4: can you explain some more what this ...
4 years, 3 months ago (2016-09-19 20:27:49 UTC) #9
michaelbai
https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn File android_webview/BUILD.gn (right): https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn#newcode294 android_webview/BUILD.gn:294: whitelist = rebase_path("ui/grit_components_whitelist.txt") Here, we manually add whitelist, would ...
4 years, 3 months ago (2016-09-19 21:02:06 UTC) #10
agrieve
https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn File android_webview/BUILD.gn (right): https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn#newcode294 android_webview/BUILD.gn:294: whitelist = rebase_path("ui/grit_components_whitelist.txt") On 2016/09/19 21:02:06, michaelbai wrote: > ...
4 years, 3 months ago (2016-09-20 00:48:34 UTC) #11
michaelbai
lgtm https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn File android_webview/BUILD.gn (right): https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn#newcode294 android_webview/BUILD.gn:294: whitelist = rebase_path("ui/grit_components_whitelist.txt") On 2016/09/20 00:48:34, agrieve wrote: ...
4 years, 3 months ago (2016-09-20 01:01:01 UTC) #12
agrieve
https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn File android_webview/BUILD.gn (right): https://codereview.chromium.org/2343083003/diff/40001/android_webview/BUILD.gn#newcode294 android_webview/BUILD.gn:294: whitelist = rebase_path("ui/grit_components_whitelist.txt") On 2016/09/20 01:01:01, michaelbai wrote: > ...
4 years, 3 months ago (2016-09-20 01:08:58 UTC) #13
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/2343083003/60001
4 years, 3 months ago (2016-09-20 01:10:06 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-20 01:21:51 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 01:23:35 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/425d550f2c0b578e8942ccd5fc257d3d35689125
Cr-Commit-Position: refs/heads/master@{#419622}

Powered by Google App Engine
This is Rietveld 408576698