OLD | NEW |
1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import("../application_snapshot.gni") | 5 import("../application_snapshot.gni") |
6 | 6 |
7 application_snapshot("dartdevc") { | 7 application_snapshot("dartdevc") { |
8 main_dart = "../../pkg/dev_compiler/bin/dartdevc.dart" | 8 main_dart = "../../pkg/dev_compiler/bin/dartdevc.dart" |
9 training_args = [ | 9 training_args = [ |
10 "--dart-sdk", | 10 "--dart-sdk", |
11 rebase_path("../../sdk"), | 11 rebase_path("../../sdk"), |
12 "--dart-sdk-summary", | 12 "--dart-sdk-summary", |
13 rebase_path("../../pkg/dev_compiler/lib/sdk/ddc_sdk.sum"), | 13 rebase_path("../../pkg/dev_compiler/lib/sdk/ddc_sdk.sum"), |
14 "--help", | 14 "--library-root", |
| 15 rebase_path("../../pkg/dev_compiler"), |
| 16 "-o", |
| 17 "dartdevc.js", |
| 18 rebase_path("../../pkg/dev_compiler/bin/dartdevc.dart"), |
15 ] | 19 ] |
16 inputs = exec_script("../../tools/list_dart_files.py", | 20 inputs = exec_script("../../tools/list_dart_files.py", |
17 [ "absolute", | 21 [ "absolute", |
18 rebase_path("../../pkg/dev_compiler/bin") ], | 22 rebase_path("../../pkg/dev_compiler/bin") ], |
19 "list lines") | 23 "list lines") |
20 } | 24 } |
OLD | NEW |