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

Side by Side Diff: examples/dart/hello_world/world/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: Fix asan build 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 unified diff | Download patch
« no previous file with comments | « examples/dart/hello_world/hello/pubspec.yaml ('k') | mojo/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("world") { 7 dartzip_packaged_application("mojo_dart_world_dartzip") {
8 output_name = "mojo_dart_world"
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
15 # This exercises the ability of the Dart content handler to run isolates in 16 # This exercises the ability of the Dart content handler to run isolates in
16 # either strict or non-strict mode at the same time. In a Debug build, the 17 # either strict or non-strict mode at the same time. In a Debug build, the
17 # content handler always runs code in strict mode, so we run in different 18 # content handler always runs code in strict mode, so we run in different
18 # modes only in a Release build. 19 # modes only in a Release build.
19 if (!is_debug) { 20 if (!is_debug) {
20 strict = true 21 strict = true
21 } 22 }
22 } 23 }
24
25 group("world") {
26 deps = [
27 ":mojo_dart_world_dartzip",
28 ]
29 }
OLDNEW
« no previous file with comments | « examples/dart/hello_world/hello/pubspec.yaml ('k') | mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698