OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/dart/rules.gni") | 5 import("//mojo/public/dart/rules.gni") |
6 | 6 |
7 dartzip_packaged_application("hello") { | 7 dartzip_packaged_application("mojo_dart_hello_dartzip") { |
8 output_name = "mojo_dart_hello" | |
8 sources = [ | 9 sources = [ |
9 "main.dart", | 10 "main.dart", |
10 ] | 11 ] |
11 deps = [ | 12 deps = [ |
12 "//mojo/public/dart", | 13 "//mojo/public/dart", |
13 ] | 14 ] |
14 } | 15 } |
16 | |
17 dart_pkg("mojo_dart_hello_pkg") { | |
18 entrypoints = [ "main.dart" ] | |
Cutch
2015/08/11 14:18:06
I don't see how this is used?
zra
2015/08/11 17:03:21
Used by dart_pkg rule for invoking the analyzer, b
| |
19 sources = [ | |
20 "pubspec.yaml", | |
21 ] | |
22 deps = [ | |
23 "//mojo/public/dart", | |
24 ] | |
25 } | |
26 | |
27 group("hello") { | |
28 deps = [ | |
29 ":mojo_dart_hello_dartzip", | |
30 ":mojo_dart_hello_pkg", | |
31 ] | |
32 } | |
OLD | NEW |