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/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
6 import("//mojo/public/mojo.gni") | 6 import("//mojo/public/mojo.gni") |
7 | 7 |
| 8 declare_args() { |
| 9 mojo_use_go = false |
| 10 |
| 11 # TODO(ncbray): support ASAN once NaCl's GN build is unforked. |
| 12 mojo_use_nacl = is_linux && !is_asan |
| 13 mojo_use_nacl_nonsfi = (is_linux || is_android) && !is_asan |
| 14 } |
| 15 |
8 group("mojo") { | 16 group("mojo") { |
9 # Meta-target, don't link into production code. | 17 # Meta-target, don't link into production code. |
10 testonly = true | 18 testonly = true |
11 declare_args() { | |
12 mojo_use_go = false | |
13 | |
14 # TODO(ncbray): support ASAN once NaCl's GN build is unforked. | |
15 mojo_use_nacl = is_linux && !is_asan | |
16 mojo_use_nacl_nonsfi = (is_linux || is_android) && !is_asan | |
17 } | |
18 deps = [ | 19 deps = [ |
19 ":system_thunks", | 20 ":system_thunks", |
20 ":tests", | 21 ":tests", |
21 "//mojo/common", | 22 "//mojo/common", |
22 "//mojo/dart", | 23 "//mojo/dart", |
23 "//mojo/public", | 24 "//mojo/public", |
24 "//mojo/services", | 25 "//mojo/services", |
25 ] | 26 ] |
26 | 27 |
27 if (is_android) { | 28 if (is_android) { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 } | 82 } |
82 } | 83 } |
83 | 84 |
84 # This archives the system thunks implementation for exporting to SDK consumers. | 85 # This archives the system thunks implementation for exporting to SDK consumers. |
85 static_library("system_thunks") { | 86 static_library("system_thunks") { |
86 complete_static_lib = true | 87 complete_static_lib = true |
87 deps = [ | 88 deps = [ |
88 "//mojo/public/platform/native:system", | 89 "//mojo/public/platform/native:system", |
89 ] | 90 ] |
90 } | 91 } |
OLD | NEW |