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

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

Issue 1311803002: Dart: Removes dartzip (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Readme fixes 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
« no previous file with comments | « examples/dart/hello_world/hello/BUILD.gn ('k') | examples/dart/netcat/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/dart/hello_world/world/BUILD.gn
diff --git a/examples/dart/hello_world/world/BUILD.gn b/examples/dart/hello_world/world/BUILD.gn
index 58d663ffe730704094abfd08befada60a7386712..bb628d31784937501fff4eb9978825d2670e20a5 100644
--- a/examples/dart/hello_world/world/BUILD.gn
+++ b/examples/dart/hello_world/world/BUILD.gn
@@ -4,27 +4,9 @@
import("//mojo/public/dart/rules.gni")
-dartzip_packaged_application("mojo_dart_world_dartzip") {
- output_name = "mojo_dart_world"
- sources = [
- "lib/main.dart",
- "pubspec.yaml",
- ]
- deps = [
- "//mojo/public/dart:dart_dartzip",
- ]
-
- # This exercises the ability of the Dart content handler to run isolates in
- # either strict or non-strict mode at the same time. In a Debug build, the
- # content handler always runs code in strict mode, so we run in different
- # modes only in a Release build.
- if (!is_debug) {
- strict = true
- }
-}
-
-dart_pkg("mojo_dart_world_pkg") {
+dart_pkg("world") {
apps = [ "lib/main.dart" ]
+ app_name_override = "dart_world"
sources = [
"pubspec.yaml",
]
@@ -40,10 +22,3 @@ dart_pkg("mojo_dart_world_pkg") {
strict = true
}
}
-
-group("world") {
- deps = [
- ":mojo_dart_world_dartzip",
- ":mojo_dart_world_pkg",
- ]
-}
« no previous file with comments | « examples/dart/hello_world/hello/BUILD.gn ('k') | examples/dart/netcat/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698