Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: examples/dart/hello_world/hello/BUILD.gn

Issue 1273743005: Dart: Adds a program to create snapshots of Mojo apps. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..d1871f409c48dea8ecc3e3759284917fb3211407 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("mojo_dart_hello_dartzip") {
+ output_name = "mojo_dart_hello"
sources = [
"main.dart",
]
@@ -12,3 +13,20 @@ dartzip_packaged_application("hello") {
"//mojo/public/dart",
]
}
+
+dart_pkg("mojo_dart_hello_pkg") {
+ 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
+ sources = [
+ "pubspec.yaml",
+ ]
+ deps = [
+ "//mojo/public/dart",
+ ]
+}
+
+group("hello") {
+ deps = [
+ ":mojo_dart_hello_dartzip",
+ ":mojo_dart_hello_pkg",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698