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

Issue 2670723002: [MD History] Vulcanize as part of GN build. (Closed)

Created:
3 years, 10 months ago by calamity
Modified:
3 years, 10 months ago
Reviewers:
Dan Beam, dpapad
CC:
arv+watch_chromium.org, asanka, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dbeam+watch-history_chromium.org, dbeam+watch-downloads_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, pam+watch_chromium.org, tsergeant
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Vulcanize as part of GN build. This CL removes the need to manually vulcanize MD History by adding the vulcanization step to the build process. This CL also: - changes the request list to be per target-name so that multiple bundles in the same directory don't overwrite each other's request lists. - makes the MD History presubmit check enforce git cl formatting. BUG=673825 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2670723002 Cr-Commit-Position: refs/heads/master@{#449824} Committed: https://chromium.googlesource.com/chromium/src/+/9b40cc378411af0dccf39b5ab74137ae8ac7ea69

Patch Set 1 #

Total comments: 5

Patch Set 2 : revert css_build #

Total comments: 14

Patch Set 3 : rebase #

Patch Set 4 : address_comments #

Total comments: 2

Patch Set 5 : address nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -5295 lines) Patch
M chrome/browser/BUILD.gn View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A chrome/browser/resources/md_history/BUILD.gn View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/PRESUBMIT.py View 1 1 chunk +2 lines, -28 lines 0 comments Download
D chrome/browser/resources/md_history/app.crisper.js View 1 1 chunk +0 lines, -88 lines 0 comments Download
D chrome/browser/resources/md_history/app.vulcanized.html View 1 1 chunk +0 lines, -3775 lines 0 comments Download
D chrome/browser/resources/md_history/lazy_load.crisper.js View 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/resources/md_history/lazy_load.vulcanized.html View 1 chunk +0 lines, -1225 lines 0 comments Download
M chrome/browser/resources/vulcanize.gni View 1 2 3 4 1 chunk +11 lines, -2 lines 0 comments Download
D chrome/browser/resources/vulcanize.py View 1 chunk +0 lines, -132 lines 1 comment Download
M chrome/browser/resources/vulcanize_gn.py View 1 2 3 4 8 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 42 (23 generated)
calamity
https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/vulcanize.gni File chrome/browser/resources/vulcanize.gni (right): https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/vulcanize.gni#newcode80 chrome/browser/resources/vulcanize.gni:80: } I'm not sure how to share this logic ...
3 years, 10 months ago (2017-02-02 04:24:05 UTC) #5
Dan Beam
cool! https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/vulcanize.gni File chrome/browser/resources/vulcanize.gni (right): https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/vulcanize.gni#newcode80 chrome/browser/resources/vulcanize.gni:80: } On 2017/02/02 04:24:05, calamity wrote: > I'm ...
3 years, 10 months ago (2017-02-02 17:14:52 UTC) #11
dpapad
https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/vulcanize.gni File chrome/browser/resources/vulcanize.gni (right): https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/vulcanize.gni#newcode80 chrome/browser/resources/vulcanize.gni:80: } On 2017/02/02 at 17:14:52, Dan Beam (slow) wrote: ...
3 years, 10 months ago (2017-02-02 18:18:16 UTC) #12
dpapad
> "All thing node" template was implemented at https://codereview.chromium.org/2533153002. I never landed this (or sent ...
3 years, 10 months ago (2017-02-02 18:28:26 UTC) #13
dpapad
https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/vulcanize.gni File chrome/browser/resources/vulcanize.gni (right): https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/vulcanize.gni#newcode65 chrome/browser/resources/vulcanize.gni:65: template("css_build") { Can we move this to its own ...
3 years, 10 months ago (2017-02-02 18:29:14 UTC) #14
dpapad
https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/md_history/BUILD.gn File chrome/browser/resources/md_history/BUILD.gn (right): https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/md_history/BUILD.gn#newcode33 chrome/browser/resources/md_history/BUILD.gn:33: css_build("build") { I am trying to understand the necessity ...
3 years, 10 months ago (2017-02-02 22:08:46 UTC) #15
calamity
On 2017/02/02 22:08:46, dpapad wrote: > https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/md_history/BUILD.gn > File chrome/browser/resources/md_history/BUILD.gn (right): > > https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/md_history/BUILD.gn#newcode33 > ...
3 years, 10 months ago (2017-02-03 02:19:17 UTC) #16
dpapad
On 2017/02/03 at 02:19:17, calamity wrote: > On 2017/02/02 22:08:46, dpapad wrote: > > https://codereview.chromium.org/2670723002/diff/20001/chrome/browser/resources/md_history/BUILD.gn ...
3 years, 10 months ago (2017-02-03 02:29:47 UTC) #17
calamity
Okay, reverted the CSS build stuff. Now the patch is simple enough that I don't ...
3 years, 10 months ago (2017-02-08 00:14:05 UTC) #24
Dan Beam
you need to merge/rebase because i landed some changes to the flags and some other ...
3 years, 10 months ago (2017-02-08 05:41:55 UTC) #25
Dan Beam
but generally looks great, btw!
3 years, 10 months ago (2017-02-08 05:42:12 UTC) #26
dpapad
https://codereview.chromium.org/2670723002/diff/60001/chrome/browser/resources/vulcanize.gni File chrome/browser/resources/vulcanize.gni (right): https://codereview.chromium.org/2670723002/diff/60001/chrome/browser/resources/vulcanize.gni#newcode66 chrome/browser/resources/vulcanize.gni:66: "--exclude", Can we not just pass all the excludes ...
3 years, 10 months ago (2017-02-08 23:04:19 UTC) #27
calamity
https://codereview.chromium.org/2670723002/diff/60001/chrome/browser/resources/md_history/BUILD.gn File chrome/browser/resources/md_history/BUILD.gn (right): https://codereview.chromium.org/2670723002/diff/60001/chrome/browser/resources/md_history/BUILD.gn#newcode30 chrome/browser/resources/md_history/BUILD.gn:30: "chrome://history/constants.html", On 2017/02/08 05:41:55, Dan Beam wrote: > why ...
3 years, 10 months ago (2017-02-09 03:07:36 UTC) #28
dpapad
LGTM++ https://codereview.chromium.org/2670723002/diff/100001/chrome/browser/resources/vulcanize.gni File chrome/browser/resources/vulcanize.gni (right): https://codereview.chromium.org/2670723002/diff/100001/chrome/browser/resources/vulcanize.gni#newcode55 chrome/browser/resources/vulcanize.gni:55: args += [ "--exclude" ] Nit: Would that ...
3 years, 10 months ago (2017-02-09 19:14:04 UTC) #29
Dan Beam
lgtm
3 years, 10 months ago (2017-02-10 03:50:09 UTC) #32
Dan Beam
fwiw: I just looked at the 2 .d and _requestlist.txt files on windows. 👍👍
3 years, 10 months ago (2017-02-10 04:26:19 UTC) #33
dpapad
https://codereview.chromium.org/2670723002/diff/120001/chrome/browser/resources/vulcanize.py File chrome/browser/resources/vulcanize.py (left): https://codereview.chromium.org/2670723002/diff/120001/chrome/browser/resources/vulcanize.py#oldcode1 chrome/browser/resources/vulcanize.py:1: #!/usr/bin/env python FYI, this file is still referenced by ...
3 years, 10 months ago (2017-02-10 18:31:18 UTC) #36
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/2670723002/120001
3 years, 10 months ago (2017-02-11 01:35:55 UTC) #39
commit-bot: I haz the power
3 years, 10 months ago (2017-02-11 01:46:21 UTC) #42
Message was sent while issue was closed.
Committed patchset #5 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/9b40cc378411af0dccf39b5ab741...

Powered by Google App Engine
This is Rietveld 408576698