| OLD | NEW |
| 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 readonly SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) |
| 9 cd "$SCRIPT_DIR/../.." # src/. |
| 9 | 10 |
| 10 export GYP_GENERATORS="ninja" | 11 export GYP_GENERATORS="ninja" |
| 11 | 12 |
| 12 tools/gyp/gyp --no-circular-check \ | 13 tools/gyp/gyp --no-circular-check \ |
| 13 third_party/closure_compiler/compiled_resources.gyp \ | 14 third_party/closure_compiler/compiled_resources.gyp \ |
| 14 third_party/closure_compiler/compiled_resources2.gyp | 15 third_party/closure_compiler/compiled_resources2.gyp |
| 15 | 16 |
| 16 ninja -C out/Default -j4 $@ | 17 ninja -C out/Default -j4 $@ |
| OLD | NEW |