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

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: add script to generate polymer gn files 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
« no previous file with comments | « third_party/closure_compiler/compile_js2.gni ('k') | third_party/jstemplate/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
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 readonly SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) 8 readonly SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
9 cd "$SCRIPT_DIR/../.." # src/. 9 cd "$SCRIPT_DIR/../.." # src/.
10 10
11 export GYP_GENERATORS="ninja" 11 export GYP_GENERATORS="ninja"
12 12
13 tools/gyp/gyp --no-circular-check \ 13 tools/gyp/gyp --no-circular-check \
14 third_party/closure_compiler/compiled_resources.gyp \ 14 third_party/closure_compiler/compiled_resources.gyp \
15 third_party/closure_compiler/compiled_resources2.gyp 15 third_party/closure_compiler/compiled_resources2.gyp
16 16
17 ninja -C out/Default -j4 $@ 17 ninja -C out/Default -j4 $@
18
19 gn gen --args='root_extra_deps=["//third_party/closure_compiler:compile_js_all"] ' out/Default
20
21 ninja -C out/Default third_party/closure_compiler:compile_js_all
OLDNEW
« no previous file with comments | « third_party/closure_compiler/compile_js2.gni ('k') | third_party/jstemplate/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698