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

Side by Side Diff: mojo/public/mojo_application.gni

Issue 898363002: mojo_application.gni - data deps are called data_deps these days. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « examples/apptest/BUILD.gn ('k') | services/clipboard/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("mojo.gni") 5 import("mojo.gni")
6 import("mojo_sdk.gni") 6 import("mojo_sdk.gni")
7 7
8 # Generate a binary mojo application.The parameters of this template are those 8 # Generate a binary mojo application.The parameters of this template are those
9 # of a shared library. 9 # of a shared library.
10 template("mojo_native_application") { 10 template("mojo_native_application") {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 if (defined(invoker.libs)) { 67 if (defined(invoker.libs)) {
68 libs = invoker.libs 68 libs = invoker.libs
69 } 69 }
70 70
71 if (use_prebuilt_mojo_shell) { 71 if (use_prebuilt_mojo_shell) {
72 copy_mojo_shell = 72 copy_mojo_shell =
73 rebase_path("mojo/public/tools:copy_mojo_shell", ".", mojo_root) 73 rebase_path("mojo/public/tools:copy_mojo_shell", ".", mojo_root)
74 } 74 }
75 75
76 # Copy the prebuilt mojo_shell if using it. 76 # Copy the prebuilt mojo_shell if using it.
77 if (defined(invoker.datadeps)) { 77 if (defined(invoker.data_deps)) {
78 datadeps = invoker.datadeps 78 data_deps = invoker.data_deps
79 if (use_prebuilt_mojo_shell) { 79 if (use_prebuilt_mojo_shell) {
80 datadeps += [ copy_mojo_shell ] 80 data_deps += [ copy_mojo_shell ]
81 } 81 }
82 } else { 82 } else {
83 if (use_prebuilt_mojo_shell) { 83 if (use_prebuilt_mojo_shell) {
84 datadeps = [ 84 data_deps = [ copy_mojo_shell ]
85 copy_mojo_shell,
86 ]
87 } 85 }
88 } 86 }
89 deps = rebase_path([ 87 deps = rebase_path([
90 "mojo/public/c/system", 88 "mojo/public/c/system",
91 "mojo/public/platform/native:system", 89 "mojo/public/platform/native:system",
92 ], 90 ],
93 ".", 91 ".",
94 mojo_root) 92 mojo_root)
95 if (defined(invoker.deps)) { 93 if (defined(invoker.deps)) {
96 deps += invoker.deps 94 deps += invoker.deps
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 rebase_input = rebase_path(input, root_build_dir) 207 rebase_input = rebase_path(input, root_build_dir)
210 rebase_output = rebase_path(output, root_build_dir) 208 rebase_output = rebase_path(output, root_build_dir)
211 args = [ 209 args = [
212 "--input=$rebase_input", 210 "--input=$rebase_input",
213 "--output=$rebase_output", 211 "--output=$rebase_output",
214 "--line=#!mojo mojo:android_handler", 212 "--line=#!mojo mojo:android_handler",
215 ] 213 ]
216 } 214 }
217 } 215 }
218 } 216 }
OLDNEW
« no previous file with comments | « examples/apptest/BUILD.gn ('k') | services/clipboard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698