OLD | NEW |
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/toolchain/toolchain.gni") | 5 import("//build/toolchain/toolchain.gni") |
6 import("mojo.gni") | 6 import("mojo.gni") |
7 | 7 |
8 # Generate a binary Mojo application in a self-named directory. | 8 # Generate a binary Mojo application in a self-named directory. |
9 # Application resources are copied to a "resources" directory alongside the app. | 9 # Application resources are copied to a "resources" directory alongside the app. |
10 # The parameters of this template are those of a shared library. | 10 # The parameters of this template are those of a shared library. |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 mojo_root) ] | 89 mojo_root) ] |
90 } | 90 } |
91 | 91 |
92 deps = rebase_path([ | 92 deps = rebase_path([ |
93 "mojo/public/c/system", | 93 "mojo/public/c/system", |
94 "mojo/public/platform/native:system", | 94 "mojo/public/platform/native:system", |
95 ], | 95 ], |
96 ".", | 96 ".", |
97 mojo_root) | 97 mojo_root) |
98 deps += mojo_deps | 98 deps += mojo_deps |
99 if (defined(invoker.forward_dependent_configs_from)) { | |
100 forward_dependent_configs_from = invoker.forward_dependent_configs_from | |
101 } | |
102 if (defined(invoker.public_deps)) { | 99 if (defined(invoker.public_deps)) { |
103 public_deps = invoker.public_deps | 100 public_deps = invoker.public_deps |
104 } | 101 } |
105 if (defined(invoker.all_dependent_configs)) { | 102 if (defined(invoker.all_dependent_configs)) { |
106 all_dependent_configs = invoker.all_dependent_configs | 103 all_dependent_configs = invoker.all_dependent_configs |
107 } | 104 } |
108 if (defined(invoker.public_configs)) { | 105 if (defined(invoker.public_configs)) { |
109 public_configs = invoker.public_configs | 106 public_configs = invoker.public_configs |
110 } | 107 } |
111 if (defined(invoker.check_includes)) { | 108 if (defined(invoker.check_includes)) { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 mojo_root) ] | 204 mojo_root) ] |
208 } | 205 } |
209 | 206 |
210 deps = rebase_path([ | 207 deps = rebase_path([ |
211 "mojo/public/c/system", | 208 "mojo/public/c/system", |
212 "mojo/public/platform/nacl:system", | 209 "mojo/public/platform/nacl:system", |
213 ], | 210 ], |
214 ".", | 211 ".", |
215 mojo_root) | 212 mojo_root) |
216 deps += mojo_deps | 213 deps += mojo_deps |
217 if (defined(invoker.forward_dependent_configs_from)) { | |
218 forward_dependent_configs_from = invoker.forward_dependent_configs_from | |
219 } | |
220 if (defined(invoker.public_deps)) { | 214 if (defined(invoker.public_deps)) { |
221 public_deps = invoker.public_deps | 215 public_deps = invoker.public_deps |
222 } | 216 } |
223 if (defined(invoker.all_dependent_configs)) { | 217 if (defined(invoker.all_dependent_configs)) { |
224 all_dependent_configs = invoker.all_dependent_configs | 218 all_dependent_configs = invoker.all_dependent_configs |
225 } | 219 } |
226 if (defined(invoker.public_configs)) { | 220 if (defined(invoker.public_configs)) { |
227 public_configs = invoker.public_configs | 221 public_configs = invoker.public_configs |
228 } | 222 } |
229 if (defined(invoker.check_includes)) { | 223 if (defined(invoker.check_includes)) { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 ] | 380 ] |
387 | 381 |
388 deps = mojo_deps | 382 deps = mojo_deps |
389 | 383 |
390 public_deps = [ | 384 public_deps = [ |
391 ":$zip_action_name", | 385 ":$zip_action_name", |
392 ] | 386 ] |
393 } | 387 } |
394 } | 388 } |
395 } | 389 } |
OLD | NEW |