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