Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1960)

Unified Diff: mojo/public/sky/rules.gni

Issue 1085853002: Introduce Sky packaged apps. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Response to qsr's review Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/dart/rules.gni ('k') | services/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/sky/rules.gni
diff --git a/mojo/public/sky/rules.gni b/mojo/public/sky/rules.gni
new file mode 100644
index 0000000000000000000000000000000000000000..485729c22a2ed4a7aeb8a602d71f8f44d43719c0
--- /dev/null
+++ b/mojo/public/sky/rules.gni
@@ -0,0 +1,24 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Rules to generate packaged applications for Sky
+
+import("//build/module_args/mojo.gni")
+import("$mojo_sdk_root/mojo/public/dart/rules.gni")
+
+# Use this template to generate a .mojo Sky application. One of the source
+# files should be named main.sky; this file will be the entrypoint of the
+# application.
+template("sky_packaged_application") {
+ dart_packaged_application(target_name) {
+ sources = invoker.sources
+ if (defined(invoker.deps)) {
+ deps = invoker.deps
+ }
+ if (defined(invoker.uses_pub)) {
+ uses_pub = invoker.uses_pub
+ }
+ uses_sky = true
+ }
+}
« no previous file with comments | « mojo/public/dart/rules.gni ('k') | services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698