OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
9 | 9 |
10 component("ipc") { | 10 component("ipc") { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 "message_router.cc", | 79 "message_router.cc", |
80 "message_router.h", | 80 "message_router.h", |
81 "mojo_event.cc", | 81 "mojo_event.cc", |
82 "mojo_event.h", | 82 "mojo_event.h", |
83 "param_traits_log_macros.h", | 83 "param_traits_log_macros.h", |
84 "param_traits_macros.h", | 84 "param_traits_macros.h", |
85 "param_traits_read_macros.h", | 85 "param_traits_read_macros.h", |
86 "param_traits_write_macros.h", | 86 "param_traits_write_macros.h", |
87 "struct_constructor_macros.h", | 87 "struct_constructor_macros.h", |
88 "struct_destructor_macros.h", | 88 "struct_destructor_macros.h", |
89 "unix_domain_socket_util.cc", | |
90 "unix_domain_socket_util.h", | |
91 ] | 89 ] |
92 | 90 |
93 if (is_nacl && !is_nacl_nonsfi) { | 91 if (is_nacl && !is_nacl_nonsfi) { |
94 sources -= [ | 92 sources -= [ "ipc_channel.cc" ] |
95 "ipc_channel.cc", | |
96 "unix_domain_socket_util.cc", | |
97 ] | |
98 } else { | 93 } else { |
99 sources -= [ | 94 sources -= [ |
100 "ipc_channel_nacl.cc", | 95 "ipc_channel_nacl.cc", |
101 "ipc_channel_nacl.h", | 96 "ipc_channel_nacl.h", |
102 ] | 97 ] |
103 } | 98 } |
104 | 99 |
105 if (is_win || is_nacl_nonsfi) { | |
106 sources -= [ "unix_domain_socket_util.cc" ] | |
107 } | |
108 | |
109 defines = [ "IPC_IMPLEMENTATION" ] | 100 defines = [ "IPC_IMPLEMENTATION" ] |
110 | 101 |
111 public_deps = [ | 102 public_deps = [ |
112 ":param_traits", | 103 ":param_traits", |
113 "//mojo/public/cpp/bindings", | 104 "//mojo/public/cpp/bindings", |
114 "//mojo/public/cpp/system", | 105 "//mojo/public/cpp/system", |
115 ] | 106 ] |
116 deps = [ | 107 deps = [ |
117 ":mojom", | 108 ":mojom", |
118 "//base", | 109 "//base", |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 "ipc_mojo_bootstrap_unittest.cc", | 169 "ipc_mojo_bootstrap_unittest.cc", |
179 "ipc_sync_channel_unittest.cc", | 170 "ipc_sync_channel_unittest.cc", |
180 "ipc_sync_message_unittest.cc", | 171 "ipc_sync_message_unittest.cc", |
181 "ipc_sync_message_unittest.h", | 172 "ipc_sync_message_unittest.h", |
182 "ipc_test_message_generator.cc", | 173 "ipc_test_message_generator.cc", |
183 "ipc_test_message_generator.h", | 174 "ipc_test_message_generator.h", |
184 "ipc_test_messages.h", | 175 "ipc_test_messages.h", |
185 "sync_socket_unittest.cc", | 176 "sync_socket_unittest.cc", |
186 ] | 177 ] |
187 | 178 |
188 if (!is_win && !is_ios) { | |
189 sources += [ "unix_domain_socket_util_unittest.cc" ] | |
190 } | |
191 | |
192 if (!is_ios) { | 179 if (!is_ios) { |
193 sources += [ "ipc_send_fds_test.cc" ] | 180 sources += [ "ipc_send_fds_test.cc" ] |
194 } | 181 } |
195 | 182 |
196 deps = [ | 183 deps = [ |
197 ":ipc", | 184 ":ipc", |
198 ":mojom", | 185 ":mojom", |
199 ":run_all_unittests", | 186 ":run_all_unittests", |
200 ":test_interfaces", | 187 ":test_interfaces", |
201 ":test_support", | 188 ":test_support", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 ":ipc", | 236 ":ipc", |
250 ] | 237 ] |
251 deps = [ | 238 deps = [ |
252 "//base", | 239 "//base", |
253 "//base/test:test_support", | 240 "//base/test:test_support", |
254 "//mojo/edk/test:test_support", | 241 "//mojo/edk/test:test_support", |
255 "//testing/gtest", | 242 "//testing/gtest", |
256 ] | 243 ] |
257 } | 244 } |
258 } | 245 } |
OLD | NEW |