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("pub") { | 7 script_snapshot("pub") { |
8 main_dart = "../../third_party/pkg/pub/bin/pub.dart" | 8 main_dart = "../../third_party/pkg/pub/bin/pub.dart" |
9 training_args = [ "--help" ] | 9 training_args = [ "--help" ] |
10 deps = [ | 10 deps = [ |
11 "../compiler:dart2js_files_stamp", | 11 "../compiler:dart2js_files_stamp", |
12 ] | 12 ] |
13 dart2js_gen_dir = | 13 dart2js_gen_dir = |
14 get_label_info("../compiler:dart2js_files_stamp", "target_gen_dir") | 14 get_label_info("../compiler:dart2js_files_stamp", "target_gen_dir") |
15 inputs = [ | 15 inputs = [ |
16 "$dart2js_gen_dir/dart2js_files.stamp", | 16 "$dart2js_gen_dir/dart2js_files.stamp", |
17 ] | 17 ] |
18 } | 18 } |
OLD | NEW |