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

Side by Side Diff: third_party/closure_compiler/run_compiler

Issue 2247353004: GN files for running Closure Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some nits Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 set -e 6 set -e
7 7
8 cd $(dirname "$0")/../.. 8 cd $(dirname "$0")/../..
9 9
10 export GYP_GENERATORS="ninja" 10 export GYP_GENERATORS="ninja"
11 11
12 tools/gyp/gyp --no-circular-check \ 12 tools/gyp/gyp --no-circular-check \
13 third_party/closure_compiler/compiled_resources.gyp \ 13 third_party/closure_compiler/compiled_resources.gyp \
14 third_party/closure_compiler/compiled_resources2.gyp 14 third_party/closure_compiler/compiled_resources2.gyp
15 15
16 ninja -C out/Default -j4 $@ 16 ninja -C out/Default -j4 $@
17
18 gn gen --args='root_extra_deps=["//third_party/closure_compiler:compile_js_all"] ' out/Default
Dan Beam 2016/09/07 18:18:05 80 col wrap
Dan Beam 2016/09/07 18:18:05 nit: store "third_party/closure_compiler:compile_j
Dan Beam 2016/09/07 18:18:05 can we change the name of where these are generate
19
20 ninja -C out/Default third_party/closure_compiler:compile_js_all
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698