| Index: examples/dart/hello_world/hello/BUILD.gn
|
| diff --git a/examples/dart/hello_world/hello/BUILD.gn b/examples/dart/hello_world/hello/BUILD.gn
|
| index 56cb2b260453a5c51d66ad4ddb5742eed22260ce..1da240fb2846f2300ea2a5b6751ad3d339051f5b 100644
|
| --- a/examples/dart/hello_world/hello/BUILD.gn
|
| +++ b/examples/dart/hello_world/hello/BUILD.gn
|
| @@ -4,7 +4,8 @@
|
|
|
| import("//mojo/public/dart/rules.gni")
|
|
|
| -dartzip_packaged_application("hello") {
|
| +dartzip_packaged_application("hello_dartzip") {
|
| + output_name = "hello"
|
| sources = [
|
| "main.dart",
|
| ]
|
| @@ -12,3 +13,20 @@ dartzip_packaged_application("hello") {
|
| "//mojo/public/dart",
|
| ]
|
| }
|
| +
|
| +dart_pkg("hello_pkg") {
|
| + entrypoints = [ "main.dart" ]
|
| + sources = [
|
| + "pubspec.yaml",
|
| + ]
|
| + deps = [
|
| + "//mojo/public/dart",
|
| + ]
|
| +}
|
| +
|
| +group("hello") {
|
| + deps = [
|
| + ":hello_dartzip",
|
| + ":hello_pkg",
|
| + ]
|
| +}
|
|
|