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

Side by Side Diff: third_party/mojo/src/mojo/public/dart/rules.gni

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup, nit Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Rules to generate python packaged applications for Dart 5 # Rules to generate python packaged applications for Dart
6 6
7 import("../mojo_sdk.gni") 7 import("../mojo_sdk.gni")
8 8
9 template("dart_package") { 9 template("dart_package") {
10 action(target_name) { 10 action(target_name) {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 if (defined(invoker.deps)) { 94 if (defined(invoker.deps)) {
95 deps += invoker.deps 95 deps += invoker.deps
96 } 96 }
97 if (defined(invoker.mojom_deps)) { 97 if (defined(invoker.mojom_deps)) {
98 deps += invoker.mojom_deps 98 deps += invoker.mojom_deps
99 } 99 }
100 if (defined(invoker.datadeps)) { 100 if (defined(invoker.datadeps)) {
101 datadeps = invoker.datadeps 101 datadeps = invoker.datadeps
102 } 102 }
103 103
104 line = "#!mojo mojo:dart_content_handler"
105 if (defined(invoker.strict) && invoker.strict == true) {
106 line = "#!mojo mojo:dart_content_handler?strict=true"
107 }
108
104 rebase_input = rebase_path(input, root_build_dir) 109 rebase_input = rebase_path(input, root_build_dir)
105 rebase_output = rebase_path(output, root_build_dir) 110 rebase_output = rebase_path(output, root_build_dir)
106 args = [ 111 args = [
107 "--input=$rebase_input", 112 "--input=$rebase_input",
108 "--output=$rebase_output", 113 "--output=$rebase_output",
109 "--line=#!mojo mojo:dart_content_handler", 114 "--line=$line",
110 ] 115 ]
111 } 116 }
112 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698