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_packaged_application("world") { | 7 dartzip_packaged_application("world") { |
8 sources = [ | 8 sources = [ |
9 "main.dart", | 9 "main.dart", |
10 ] | 10 ] |
11 deps = [ | 11 deps = [ |
12 "//mojo/public/dart", | 12 "//mojo/public/dart", |
13 ] | 13 ] |
14 | 14 |
15 # This exercises the ability of the Dart content handler to run isolates in | 15 # 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 | 16 # 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 | 17 # content handler always runs code in strict mode, so we run in different |
18 # modes only in a Release build. | 18 # modes only in a Release build. |
19 if (!is_debug) { | 19 if (!is_debug) { |
20 strict = true | 20 strict = true |
21 } | 21 } |
22 } | 22 } |
OLD | NEW |