OLD | NEW |
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 |
OLD | NEW |