OLD | NEW |
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 dart_pkg("world") { | 7 dart_pkg("world") { |
8 apps = [ [ | 8 apps = [ [ |
9 "dart_world", | 9 "dart_world", |
10 "lib/main.dart", | 10 "lib/main.dart", |
11 ] ] | 11 ] ] |
12 sources = [ | 12 sources = [ |
13 "pubspec.yaml", | 13 "pubspec.yaml", |
14 ] | 14 ] |
15 deps = [ | 15 deps = [ |
| 16 "//mojo/dart/packages", |
16 "//mojo/public/dart", | 17 "//mojo/public/dart", |
17 ] | 18 ] |
18 | 19 |
19 # This exercises the ability of the Dart content handler to run isolates in | 20 # This exercises the ability of the Dart content handler to run isolates in |
20 # either strict or non-strict mode at the same time. In a Debug build, the | 21 # either strict or non-strict mode at the same time. In a Debug build, the |
21 # content handler always runs code in strict mode, so we run in different | 22 # content handler always runs code in strict mode, so we run in different |
22 # modes only in a Release build. | 23 # modes only in a Release build. |
23 if (!is_debug) { | 24 if (!is_debug) { |
24 strict = true | 25 strict = true |
25 } | 26 } |
26 } | 27 } |
OLD | NEW |