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..de8919a78d38b0d7e0234a99a049277e15c25685 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) { |
|
qsr
2015/04/16 16:27:33
Shouldn't this template for this case be somewhere
blundell
2015/04/16 18:07:56
Added sky_packaged_app, which wraps dart_packaged_
|
| + line = "#!mojo mojo:sky_packaged_app_viewer" |
| + } |
| rebase_input = rebase_path(input, root_build_dir) |
| rebase_output = rebase_path(output, root_build_dir) |