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

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

Issue 1034603002: Prefix build variables used in separate repos with mojo_ (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: more mojo_ 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 unified diff | Download patch
« no previous file with comments | « mojo/public/mojo.gni ('k') | mojo/public/tools/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("//build/module_args/mojo.gni") 5 import("//build/module_args/mojo.gni")
6 import("mojo.gni") 6 import("mojo.gni")
7 import("mojo_sdk.gni") 7 import("mojo_sdk.gni")
8 8
9 # Generate a binary mojo application.The parameters of this template are those 9 # Generate a binary mojo application.The parameters of this template are those
10 # of a shared library. 10 # of a shared library.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 if (defined(invoker.libs)) { 70 if (defined(invoker.libs)) {
71 libs = invoker.libs 71 libs = invoker.libs
72 } 72 }
73 73
74 data_deps = [] 74 data_deps = []
75 if (defined(invoker.data_deps)) { 75 if (defined(invoker.data_deps)) {
76 data_deps = invoker.data_deps 76 data_deps = invoker.data_deps
77 } 77 }
78 78
79 # Copy any necessary prebuilt artifacts. 79 # Copy any necessary prebuilt artifacts.
80 if (use_prebuilt_mojo_shell) { 80 if (mojo_use_prebuilt_mojo_shell) {
81 data_deps += 81 data_deps +=
82 [ rebase_path("mojo/public/tools:copy_mojo_shell", ".", mojo_root) ] 82 [ rebase_path("mojo/public/tools:copy_mojo_shell", ".", mojo_root) ]
83 } 83 }
84 if (use_prebuilt_network_service) { 84 if (mojo_use_prebuilt_network_service) {
85 data_deps += [ rebase_path("mojo/public/tools:copy_network_service", 85 data_deps += [ rebase_path("mojo/public/tools:copy_network_service",
86 ".", 86 ".",
87 mojo_root) ] 87 mojo_root) ]
88 } 88 }
89 89
90 deps = rebase_path([ 90 deps = rebase_path([
91 "mojo/public/c/system", 91 "mojo/public/c/system",
92 "mojo/public/platform/native:system", 92 "mojo/public/platform/native:system",
93 ], 93 ],
94 ".", 94 ".",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 if (defined(invoker.libs)) { 190 if (defined(invoker.libs)) {
191 libs = invoker.libs 191 libs = invoker.libs
192 } 192 }
193 193
194 data_deps = [] 194 data_deps = []
195 if (defined(invoker.data_deps)) { 195 if (defined(invoker.data_deps)) {
196 data_deps = invoker.data_deps 196 data_deps = invoker.data_deps
197 } 197 }
198 198
199 # Copy any necessary prebuilt artifacts. 199 # Copy any necessary prebuilt artifacts.
200 if (use_prebuilt_mojo_shell) { 200 if (mojo_use_prebuilt_mojo_shell) {
201 data_deps += 201 data_deps +=
202 [ rebase_path("mojo/public/tools:copy_mojo_shell", ".", mojo_root) ] 202 [ rebase_path("mojo/public/tools:copy_mojo_shell", ".", mojo_root) ]
203 } 203 }
204 if (use_prebuilt_network_service) { 204 if (mojo_use_prebuilt_network_service) {
205 data_deps += [ rebase_path("mojo/public/tools:copy_network_service", 205 data_deps += [ rebase_path("mojo/public/tools:copy_network_service",
206 ".", 206 ".",
207 mojo_root) ] 207 mojo_root) ]
208 } 208 }
209 209
210 deps = rebase_path([ 210 deps = rebase_path([
211 "mojo/public/c/system", 211 "mojo/public/c/system",
212 "mojo/public/platform/nacl:system", 212 "mojo/public/platform/nacl:system",
213 ], 213 ],
214 ".", 214 ".",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 rebase_input = rebase_path(input, root_build_dir) 345 rebase_input = rebase_path(input, root_build_dir)
346 rebase_output = rebase_path(output, root_build_dir) 346 rebase_output = rebase_path(output, root_build_dir)
347 args = [ 347 args = [
348 "--input=$rebase_input", 348 "--input=$rebase_input",
349 "--output=$rebase_output", 349 "--output=$rebase_output",
350 "--line=#!mojo mojo:android_handler", 350 "--line=#!mojo mojo:android_handler",
351 ] 351 ]
352 } 352 }
353 } 353 }
354 } 354 }
OLDNEW
« no previous file with comments | « mojo/public/mojo.gni ('k') | mojo/public/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698