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 "--unsafe-force-compile", | |
Jacob
2017/02/21 15:28:52
random idea: can we train it on some large existin
| |
17 "-o", | |
18 "out.js", | |
19 "../../pkg/dev_compiler/bin/dartdevc.dart", | |
15 ] | 20 ] |
16 inputs = exec_script("../../tools/list_dart_files.py", | 21 inputs = exec_script("../../tools/list_dart_files.py", |
17 [ "absolute", | 22 [ "absolute", |
18 rebase_path("../../pkg/dev_compiler/bin") ], | 23 rebase_path("../../pkg/dev_compiler/bin") ], |
19 "list lines") | 24 "list lines") |
20 } | 25 } |
OLD | NEW |