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

Unified Diff: mojo/public/dart/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 | « DEPS ('k') | mojo/public/sky/rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
+ line = "#!mojo mojo:sky_packaged_app_viewer"
+ }
rebase_input = rebase_path(input, root_build_dir)
rebase_output = rebase_path(output, root_build_dir)
« no previous file with comments | « DEPS ('k') | mojo/public/sky/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698