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

Issue 1494253003: MD Downloads: add a use_vulcanize option to Chrome (Closed)

Created:
5 years ago by Dan Beam
Modified:
4 years, 11 months ago
Reviewers:
groby-ooo-7-16, Nico
CC:
chromium-reviews, asanka, imcheng, michaelpg, brettw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Downloads: add a use_vulcanize option to Chrome use_vulcanize is on by default. This means that release, official, and debug builds that don't need debug versions of webui pages will get the fastest experience. To turn off vulcanization for local development, set use_vulcanize=0 in GYP, or use_vulcanize = false in GN. To conditionally include files in .grd files, do: <if expr="use_vulcanize"> and in C++: #include "chrome/common/features.h" #if BUILDFLAG(USE_VULCANIZE) Currently, only the new Material Design downloads page is vulcanized, but there will soon be others. R=groby@chromium.org,thakis@chromium.org BUG=541455 TEST=smaller binary Committed: https://crrev.com/64eba5b39620df70320fd0d23e4ba85022670203 Cr-Commit-Position: refs/heads/master@{#367226}

Patch Set 1 : self-review #

Total comments: 4

Patch Set 2 : BUILDFLAG #

Patch Set 3 : revert common.gypi change #

Total comments: 5

Patch Set 4 : thakis@ review #

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -23 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 chunks +31 lines, -19 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc View 1 3 chunks +8 lines, -3 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_features.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_features.gypi View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/chrome_resources.gyp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/features.gni View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 34 (16 generated)
Dan Beam
5 years ago (2015-12-03 22:23:22 UTC) #9
groby-ooo-7-16
lgtm https://codereview.chromium.org/1494253003/diff/40001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/1494253003/diff/40001/chrome/browser/browser_resources.grd#newcode31 chrome/browser/browser_resources.grd:31: <if expr="not use_vulcanize"> The grd_reader unittest claims we ...
5 years ago (2015-12-04 22:23:33 UTC) #10
Dan Beam
+thakis@ for build/ https://codereview.chromium.org/1494253003/diff/40001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/1494253003/diff/40001/chrome/browser/browser_resources.grd#newcode31 chrome/browser/browser_resources.grd:31: <if expr="not use_vulcanize"> On 2015/12/04 22:23:33, ...
5 years ago (2015-12-05 02:21:41 UTC) #12
groby-ooo-7-16
On 2015/12/05 02:21:41, Dan Beam wrote: > +thakis@ for build/ > > https://codereview.chromium.org/1494253003/diff/40001/chrome/browser/browser_resources.grd > File ...
5 years ago (2015-12-07 21:17:28 UTC) #13
Nico
https://codereview.chromium.org/1494253003/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1494253003/diff/40001/build/common.gypi#newcode717 build/common.gypi:717: 'use_vulcanize%': 1, 1. Do you need to do this ...
5 years ago (2015-12-07 21:29:13 UTC) #14
Dan Beam
https://codereview.chromium.org/1494253003/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1494253003/diff/40001/build/common.gypi#newcode717 build/common.gypi:717: 'use_vulcanize%': 1, On 2015/12/07 21:29:13, Nico wrote: > 1. ...
4 years, 11 months ago (2015-12-30 05:07:52 UTC) #16
Nico
https://codereview.chromium.org/1494253003/diff/80001/chrome/chrome_features.gypi File chrome/chrome_features.gypi (right): https://codereview.chromium.org/1494253003/diff/80001/chrome/chrome_features.gypi#newcode25 chrome/chrome_features.gypi:25: 'use_vulcanize%': 1, shouldn't this default to 0? https://codereview.chromium.org/1494253003/diff/80001/chrome/common/features.gni File ...
4 years, 11 months ago (2015-12-30 14:29:22 UTC) #17
Dan Beam
https://codereview.chromium.org/1494253003/diff/80001/chrome/chrome_features.gypi File chrome/chrome_features.gypi (right): https://codereview.chromium.org/1494253003/diff/80001/chrome/chrome_features.gypi#newcode25 chrome/chrome_features.gypi:25: 'use_vulcanize%': 1, On 2015/12/30 14:29:22, Nico wrote: > shouldn't ...
4 years, 11 months ago (2015-12-30 17:11:12 UTC) #18
Dan Beam
https://codereview.chromium.org/1494253003/diff/80001/chrome/chrome_features.gypi File chrome/chrome_features.gypi (right): https://codereview.chromium.org/1494253003/diff/80001/chrome/chrome_features.gypi#newcode25 chrome/chrome_features.gypi:25: 'use_vulcanize%': 1, On 2015/12/30 17:11:12, Dan Beam wrote: > ...
4 years, 11 months ago (2015-12-30 17:22:53 UTC) #20
Nico
This CL looks good to me. Your description confuses me a bit though. Usually, new ...
4 years, 11 months ago (2015-12-30 19:17:41 UTC) #21
Dan Beam
On 2015/12/30 19:17:41, Nico wrote: > This CL looks good to me. > > Your ...
4 years, 11 months ago (2015-12-30 19:19:47 UTC) #22
Nico
On 2015/12/30 19:19:47, Dan Beam wrote: > On 2015/12/30 19:17:41, Nico wrote: > > This ...
4 years, 11 months ago (2015-12-30 19:25:32 UTC) #23
Dan Beam
On 2015/12/30 19:25:32, Nico wrote: > On 2015/12/30 19:19:47, Dan Beam wrote: > > On ...
4 years, 11 months ago (2015-12-30 19:45:28 UTC) #24
Nico
nothing, as I said this cl lgtm, go ahead and cq :-) I'm just a ...
4 years, 11 months ago (2015-12-30 19:53:44 UTC) #25
Nico
(less confused now though, thanks!)
4 years, 11 months ago (2015-12-30 19:53:52 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1494253003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1494253003/120001
4 years, 11 months ago (2015-12-31 03:23:06 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 11 months ago (2015-12-31 04:06:12 UTC) #32
commit-bot: I haz the power
4 years, 11 months ago (2015-12-31 04:07:22 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/64eba5b39620df70320fd0d23e4ba85022670203
Cr-Commit-Position: refs/heads/master@{#367226}

Powered by Google App Engine
This is Rietveld 408576698