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/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("../../../mojo/public/tools/bindings/mojom.gni") | 7 import("../../../mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 16 matching lines...) Expand all Loading... |
27 "atomic_flag.h", | 27 "atomic_flag.h", |
28 "awakable.h", | 28 "awakable.h", |
29 "awakable_list.cc", | 29 "awakable_list.cc", |
30 "awakable_list.h", | 30 "awakable_list.h", |
31 "broker.h", | 31 "broker.h", |
32 "broker_host.h", | 32 "broker_host.h", |
33 "broker_host_posix.cc", | 33 "broker_host_posix.cc", |
34 "broker_posix.cc", | 34 "broker_posix.cc", |
35 "channel.cc", | 35 "channel.cc", |
36 "channel.h", | 36 "channel.h", |
| 37 "channel_nacl.cc", |
37 "channel_posix.cc", | 38 "channel_posix.cc", |
38 "channel_win.cc", | 39 "channel_win.cc", |
39 "configuration.cc", | 40 "configuration.cc", |
40 "configuration.h", | 41 "configuration.h", |
41 "core.cc", | 42 "core.cc", |
42 "core.h", | 43 "core.h", |
43 "data_pipe_consumer_dispatcher.cc", | 44 "data_pipe_consumer_dispatcher.cc", |
44 "data_pipe_consumer_dispatcher.h", | 45 "data_pipe_consumer_dispatcher.h", |
45 "data_pipe_control_message.cc", | 46 "data_pipe_control_message.cc", |
46 "data_pipe_control_message.h", | 47 "data_pipe_control_message.h", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 "mach_port_relay.h", | 119 "mach_port_relay.h", |
119 ] | 120 ] |
120 } | 121 } |
121 | 122 |
122 if (is_nacl && !is_nacl_nonsfi) { | 123 if (is_nacl && !is_nacl_nonsfi) { |
123 sources -= [ | 124 sources -= [ |
124 "broker_host_posix.cc", | 125 "broker_host_posix.cc", |
125 "broker_posix.cc", | 126 "broker_posix.cc", |
126 "channel_posix.cc", | 127 "channel_posix.cc", |
127 ] | 128 ] |
| 129 } else { |
| 130 sources -= [ |
| 131 "channel_nacl.cc", |
| 132 ] |
128 } | 133 } |
129 | 134 |
130 allow_circular_includes_from = [ "//mojo/edk/embedder" ] | 135 allow_circular_includes_from = [ "//mojo/edk/embedder" ] |
131 } | 136 } |
132 | 137 |
133 group("tests") { | 138 group("tests") { |
134 testonly = true | 139 testonly = true |
135 deps = [ | 140 deps = [ |
136 ":mojo_system_unittests", | 141 ":mojo_system_unittests", |
137 ] | 142 ] |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 ":test_utils", | 218 ":test_utils", |
214 "//base", | 219 "//base", |
215 "//base/test:test_support", | 220 "//base/test:test_support", |
216 "//mojo/edk/system", | 221 "//mojo/edk/system", |
217 "//mojo/edk/test:run_all_perftests", | 222 "//mojo/edk/test:run_all_perftests", |
218 "//mojo/edk/test:test_support", | 223 "//mojo/edk/test:test_support", |
219 "//testing/gtest", | 224 "//testing/gtest", |
220 ] | 225 ] |
221 } | 226 } |
222 } | 227 } |
OLD | NEW |