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

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..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",
+ ]
+}
« no previous file with comments | « no previous file | examples/dart/hello_world/hello/pubspec.yaml » ('j') | examples/dart/hello_world/hello/pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698