Chromium Code Reviews| Index: mojo/public/dart/rules.gni |
| diff --git a/mojo/public/dart/rules.gni b/mojo/public/dart/rules.gni |
| index 930a8967711a7e6997ec86eacdda4d559b5d98c1..8d5aad896904dcc7459615c42feebb59f230b39e 100644 |
| --- a/mojo/public/dart/rules.gni |
| +++ b/mojo/public/dart/rules.gni |
| @@ -61,11 +61,12 @@ template("dart_package") { |
| if (defined(invoker.deps)) { |
| deps += invoker.deps |
| - foreach(d, deps) { |
| - dep_name = get_label_info(d, "name") |
| - dep_target_out_dir = get_label_info(d, "target_out_dir") |
| - zip_inputs += [ "$dep_target_out_dir/$dep_name.dartzip" ] |
| - } |
| + } |
| + |
| + foreach(d, deps) { |
| + dep_name = get_label_info(d, "name") |
| + dep_target_out_dir = get_label_info(d, "target_out_dir") |
| + zip_inputs += [ "$dep_target_out_dir/$dep_name.dartzip" ] |
| } |
| if (defined(invoker.datadeps)) { |
| @@ -188,6 +189,9 @@ template("dart_packaged_application") { |
| if (is_debug || (defined(invoker.strict) && invoker.strict == true)) { |
| line = "#!mojo mojo:dart_content_handler?strict=true" |
| } |
| + if (defined(invoker.uses_sky) && invoker.uses_sky) { |
| + line = "#!mojo mojo:sky_viewer" |
|
tonyg
2015/04/14 14:36:56
Is strict=true applicable? Should it be?
|
| + } |
| rebase_input = rebase_path(input, root_build_dir) |
| rebase_output = rebase_path(output, root_build_dir) |