OLD | NEW |
1 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2017, 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 import("../../build/dart_host_toolchain.gni") |
6 | 7 |
7 application_snapshot("kernel-service") { | 8 application_snapshot("kernel-service") { |
8 dfe_script = "kernel-service.dart" | 9 dfe_script = "kernel-service.dart" |
9 deps = [ | 10 deps = [ |
10 "../../runtime/vm:patched_sdk($host_toolchain)", | 11 "../../runtime/vm:patched_sdk($dart_host_toolchain)", |
11 ] | 12 ] |
12 main_dart = dfe_script | 13 main_dart = dfe_script |
13 training_args = [ | 14 training_args = [ |
14 "--train", | 15 "--train", |
15 "file://" + rebase_path("../../pkg/compiler/lib/src/dart2js.dart"), | 16 "file://" + rebase_path("../../pkg/compiler/lib/src/dart2js.dart"), |
16 ] | 17 ] |
17 } | 18 } |
OLD | NEW |