| OLD | NEW |
| (Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # Rules to generate packaged applications for Sky |
| 6 |
| 7 import("//build/module_args/mojo.gni") |
| 8 import("$mojo_sdk_root/mojo/public/dart/rules.gni") |
| 9 |
| 10 # Use this template to generate a .mojo Sky application. One of the source |
| 11 # files should be named main.sky; this file will be the entrypoint of the |
| 12 # application. |
| 13 template("sky_packaged_application") { |
| 14 dart_packaged_application(target_name) { |
| 15 sources = invoker.sources |
| 16 if (defined(invoker.deps)) { |
| 17 deps = invoker.deps |
| 18 } |
| 19 if (defined(invoker.uses_pub)) { |
| 20 uses_pub = invoker.uses_pub |
| 21 } |
| 22 uses_sky = true |
| 23 } |
| 24 } |
| OLD | NEW |