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

Issue 2247353004: GN files for running Closure Compiler (Closed)

Created:
4 years, 4 months ago by aberent
Modified:
3 years, 8 months ago
Reviewers:
Dirk Pranke, Dan Beam
CC:
chromium-reviews, oshima+watch_chromium.org, aboxhall+watch_chromium.org, jlklein+watch-closure_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, dmazzoni+watch_chromium.org, brettw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN files for running Closure Compiler BUG=632206 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Patch Set 1 #

Total comments: 2

Patch Set 2 : builder using data files #

Patch Set 3 : fix typo #

Total comments: 2

Patch Set 4 : add use of GN to run_compiler #

Total comments: 12

Patch Set 5 : fix some nits #

Total comments: 12

Patch Set 6 : add script to generate polymer gn files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+440 lines, -46 lines) Patch
M chrome/browser/resources/chromeos/braille_ime/BUILD.gn View 1 2 3 1 chunk +34 lines, -7 lines 0 comments Download
A chrome/browser/resources/chromeos/network_ui/BUILD.gn View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M docs/closure_compilation.md View 1 2 3 2 chunks +32 lines, -37 lines 0 comments Download
A third_party/closure_compiler/BUILD.gn View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/closure_compiler/compile2.py View 1 2 3 4 5 4 chunks +26 lines, -2 lines 0 comments Download
A third_party/closure_compiler/compile_js2.gni View 1 2 3 4 1 chunk +99 lines, -0 lines 0 comments Download
M third_party/closure_compiler/run_compiler View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/jstemplate/BUILD.gn View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A tools/polymer/generate_compiled_resources_gn.py View 1 2 3 4 5 1 chunk +93 lines, -0 lines 0 comments Download
A ui/webui/resources/js/BUILD.gn View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
aberent
Mainly for information at this stage, although I think compile_js2.gni is probably quite close to ...
4 years, 4 months ago (2016-08-17 13:28:45 UTC) #3
Dan Beam
https://codereview.chromium.org/2247353004/diff/1/third_party/closure_compiler/compile_js2.gni File third_party/closure_compiler/compile_js2.gni (right): https://codereview.chromium.org/2247353004/diff/1/third_party/closure_compiler/compile_js2.gni#newcode62 third_party/closure_compiler/compile_js2.gni:62: if (defined(exters)) { externs
4 years, 4 months ago (2016-08-17 18:24:22 UTC) #4
aberent
In view of the discussions on dependencies and source files this will need a rethink. ...
4 years, 4 months ago (2016-08-18 10:30:37 UTC) #5
aberent
Patch set 2 solves the dependency problem using data dependencies (as suggested by dprank@). I ...
4 years, 4 months ago (2016-08-18 16:08:52 UTC) #6
Dan Beam
https://codereview.chromium.org/2247353004/diff/40001/third_party/closure_compiler/compile_js2.gni File third_party/closure_compiler/compile_js2.gni (right): https://codereview.chromium.org/2247353004/diff/40001/third_party/closure_compiler/compile_js2.gni#newcode38 third_party/closure_compiler/compile_js2.gni:38: # dependency tree can actions have dependencies? if so, ...
4 years, 4 months ago (2016-08-19 01:55:19 UTC) #7
Dan Beam
/cc brettw@
4 years, 3 months ago (2016-08-31 23:47:09 UTC) #9
aberent
https://codereview.chromium.org/2247353004/diff/40001/third_party/closure_compiler/compile_js2.gni File third_party/closure_compiler/compile_js2.gni (right): https://codereview.chromium.org/2247353004/diff/40001/third_party/closure_compiler/compile_js2.gni#newcode38 third_party/closure_compiler/compile_js2.gni:38: # dependency tree On 2016/08/19 01:55:19, Dan Beam wrote: ...
4 years, 3 months ago (2016-09-06 13:22:29 UTC) #10
Dan Beam
overall I think this will work, and I'd be happy to get some people to ...
4 years, 3 months ago (2016-09-06 16:46:46 UTC) #11
aberent
Answers to your questions. I will look at your editorial comments tomorrow. https://codereview.chromium.org/2247353004/diff/60001/chrome/browser/resources/chromeos/braille_ime/BUILD.gn File chrome/browser/resources/chromeos/braille_ime/BUILD.gn ...
4 years, 3 months ago (2016-09-06 17:30:22 UTC) #12
aberent
https://codereview.chromium.org/2247353004/diff/60001/third_party/closure_compiler/compile2.py File third_party/closure_compiler/compile2.py (right): https://codereview.chromium.org/2247353004/diff/60001/third_party/closure_compiler/compile2.py#newcode194 third_party/closure_compiler/compile2.py:194: source_list_file=None, On 2016/09/06 16:46:46, Dan Beam wrote: > can ...
4 years, 3 months ago (2016-09-07 09:31:18 UTC) #13
Dan Beam
getting closer https://codereview.chromium.org/2247353004/diff/80001/third_party/closure_compiler/compile2.py File third_party/closure_compiler/compile2.py (right): https://codereview.chromium.org/2247353004/diff/80001/third_party/closure_compiler/compile2.py#newcode347 third_party/closure_compiler/compile2.py:347: gn_source_list_file=opts.gn_source_list_file, nit: wrap at 80 cols https://codereview.chromium.org/2247353004/diff/80001/third_party/closure_compiler/compile_js2.gni ...
4 years, 3 months ago (2016-09-07 18:18:05 UTC) #14
aberent
Some answers, but no new upload yet. I don't think it is worth doing much ...
4 years, 3 months ago (2016-09-08 10:29:19 UTC) #15
Dan Beam
https://codereview.chromium.org/2247353004/diff/80001/third_party/closure_compiler/compile_js2.gni File third_party/closure_compiler/compile_js2.gni (right): https://codereview.chromium.org/2247353004/diff/80001/third_party/closure_compiler/compile_js2.gni#newcode55 third_party/closure_compiler/compile_js2.gni:55: "${CLOSURE_DIR}/build/inputs.py", On 2016/09/08 10:29:19, aberent wrote: > On 2016/09/07 ...
4 years, 3 months ago (2016-09-08 17:53:21 UTC) #16
aberent
I just added my draft version of tools/polymer/generate_compiled_resources_gn.py to the CL, since Dan is, at ...
4 years, 3 months ago (2016-09-15 10:27:30 UTC) #17
aberent
On 2016/09/15 10:27:30, aberent wrote: > I just added my draft version of tools/polymer/generate_compiled_resources_gn.py > ...
4 years ago (2016-12-05 14:25:29 UTC) #19
aberent
On 2016/09/15 10:27:30, aberent wrote: > I just added my draft version of tools/polymer/generate_compiled_resources_gn.py > ...
4 years ago (2016-12-05 14:25:31 UTC) #20
Dan Beam
On 2016/12/05 14:25:31, aberent wrote: > On 2016/09/15 10:27:30, aberent wrote: > > I just ...
4 years ago (2016-12-05 20:53:14 UTC) #21
Dirk Pranke
4 years ago (2016-12-06 02:40:03 UTC) #22
On 2016/12/05 20:53:14, Dan Beam wrote:
> On 2016/12/05 14:25:31, aberent wrote:
> > On 2016/09/15 10:27:30, aberent wrote:
> > > I just added my draft version of
> > tools/polymer/generate_compiled_resources_gn.py
> > > to the CL, since Dan is, at least for now, taking this over. It still
needs
> > > tidying up to pass presubmit checks, but seems to work.
> > 
> > Dan, did you actually take this over and finish it? If so then I would like
to
> > close this CL.
> 
> Dirk keeps threatening to work on this :)

Yes ... I promise to have a real update soon. The last couple weeks have been
crazy for me but things are settling down now, I think.

Powered by Google App Engine
This is Rietveld 408576698