Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(606)

Side by Side Diff: ipc/BUILD.gn

Issue 2473993003: Delete IPC::ChannelPosix, IPC::ChannelWin and IPC::AttachmentBroker. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/ipc/service/gpu_channel.cc ('k') | ipc/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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") {
11 sources = [ 11 sources = [
12 "attachment_broker.cc",
13 "attachment_broker.h",
14 "attachment_broker_messages.h",
15 "attachment_broker_privileged.cc",
16 "attachment_broker_privileged.h",
17 "attachment_broker_privileged_mac.cc",
18 "attachment_broker_privileged_mac.h",
19 "attachment_broker_privileged_win.cc",
20 "attachment_broker_privileged_win.h",
21 "attachment_broker_unprivileged.cc",
22 "attachment_broker_unprivileged.h",
23 "attachment_broker_unprivileged_mac.cc",
24 "attachment_broker_unprivileged_mac.h",
25 "attachment_broker_unprivileged_win.cc",
26 "attachment_broker_unprivileged_win.h",
27 "brokerable_attachment.cc", 12 "brokerable_attachment.cc",
28 "brokerable_attachment.h", 13 "brokerable_attachment.h",
29 "brokerable_attachment_mac.cc",
30 "brokerable_attachment_win.cc",
31 "export_template.h", 14 "export_template.h",
32 "handle_attachment_win.cc", 15 "handle_attachment_win.cc",
33 "handle_attachment_win.h", 16 "handle_attachment_win.h",
34 "handle_win.cc", 17 "handle_win.cc",
35 "handle_win.h", 18 "handle_win.h",
36 "ipc_channel.cc", 19 "ipc_channel.cc",
37 "ipc_channel.h", 20 "ipc_channel.h",
38 "ipc_channel_common.cc", 21 "ipc_channel_common.cc",
39 "ipc_channel_factory.cc", 22 "ipc_channel_factory.cc",
40 "ipc_channel_factory.h", 23 "ipc_channel_factory.h",
41 "ipc_channel_handle.h", 24 "ipc_channel_handle.h",
42 "ipc_channel_mojo.cc", 25 "ipc_channel_mojo.cc",
43 "ipc_channel_mojo.h", 26 "ipc_channel_mojo.h",
44 "ipc_channel_nacl.cc", 27 "ipc_channel_nacl.cc",
45 "ipc_channel_nacl.h", 28 "ipc_channel_nacl.h",
46 "ipc_channel_posix.cc",
47 "ipc_channel_posix.h",
48 "ipc_channel_proxy.cc", 29 "ipc_channel_proxy.cc",
49 "ipc_channel_proxy.h", 30 "ipc_channel_proxy.h",
50 "ipc_channel_reader.cc", 31 "ipc_channel_reader.cc",
51 "ipc_channel_reader.h", 32 "ipc_channel_reader.h",
52 "ipc_channel_win.cc",
53 "ipc_channel_win.h",
54 "ipc_descriptors.h", 33 "ipc_descriptors.h",
55 "ipc_endpoint.cc", 34 "ipc_endpoint.cc",
56 "ipc_endpoint.h", 35 "ipc_endpoint.h",
57 "ipc_export.h", 36 "ipc_export.h",
58 "ipc_listener.h", 37 "ipc_listener.h",
59 "ipc_logging.cc", 38 "ipc_logging.cc",
60 "ipc_logging.h", 39 "ipc_logging.h",
61 "ipc_message.cc", 40 "ipc_message.cc",
62 "ipc_message.h", 41 "ipc_message.h",
63 "ipc_message_attachment.cc", 42 "ipc_message_attachment.cc",
64 "ipc_message_attachment.h", 43 "ipc_message_attachment.h",
65 "ipc_message_attachment_set.cc", 44 "ipc_message_attachment_set.cc",
66 "ipc_message_attachment_set.h", 45 "ipc_message_attachment_set.h",
67 "ipc_message_generator.cc",
68 "ipc_message_generator.h",
69 "ipc_message_macros.h", 46 "ipc_message_macros.h",
70 "ipc_message_pipe_reader.cc", 47 "ipc_message_pipe_reader.cc",
71 "ipc_message_pipe_reader.h", 48 "ipc_message_pipe_reader.h",
72 "ipc_message_start.h", 49 "ipc_message_start.h",
73 "ipc_message_templates.h", 50 "ipc_message_templates.h",
74 "ipc_message_templates_impl.h", 51 "ipc_message_templates_impl.h",
75 "ipc_message_utils.cc", 52 "ipc_message_utils.cc",
76 "ipc_message_utils.h", 53 "ipc_message_utils.h",
77 "ipc_mojo_bootstrap.cc", 54 "ipc_mojo_bootstrap.cc",
78 "ipc_mojo_bootstrap.h", 55 "ipc_mojo_bootstrap.h",
(...skipping 23 matching lines...) Expand all
102 "message_filter_router.cc", 79 "message_filter_router.cc",
103 "message_filter_router.h", 80 "message_filter_router.h",
104 "message_router.cc", 81 "message_router.cc",
105 "message_router.h", 82 "message_router.h",
106 "mojo_event.cc", 83 "mojo_event.cc",
107 "mojo_event.h", 84 "mojo_event.h",
108 "param_traits_log_macros.h", 85 "param_traits_log_macros.h",
109 "param_traits_macros.h", 86 "param_traits_macros.h",
110 "param_traits_read_macros.h", 87 "param_traits_read_macros.h",
111 "param_traits_write_macros.h", 88 "param_traits_write_macros.h",
112 "placeholder_brokerable_attachment.cc",
113 "placeholder_brokerable_attachment.h",
114 "struct_constructor_macros.h", 89 "struct_constructor_macros.h",
115 "struct_destructor_macros.h", 90 "struct_destructor_macros.h",
116 "unix_domain_socket_util.cc", 91 "unix_domain_socket_util.cc",
117 "unix_domain_socket_util.h", 92 "unix_domain_socket_util.h",
118 ] 93 ]
119 94
120 if (is_nacl && !is_nacl_nonsfi) { 95 if (is_nacl && !is_nacl_nonsfi) {
121 sources -= [ 96 sources -= [
122 "ipc_channel.cc", 97 "ipc_channel.cc",
123 "ipc_channel_posix.cc",
124 "unix_domain_socket_util.cc", 98 "unix_domain_socket_util.cc",
125 ] 99 ]
126 } else { 100 } else {
127 sources -= [ 101 sources -= [
128 "ipc_channel_nacl.cc", 102 "ipc_channel_nacl.cc",
129 "ipc_channel_nacl.h", 103 "ipc_channel_nacl.h",
130 ] 104 ]
131 } 105 }
132 106
133 if (is_win || is_nacl_nonsfi) { 107 if (is_win || is_nacl_nonsfi) {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 deps = [ 163 deps = [
190 "//base", 164 "//base",
191 "//base/test:test_support", 165 "//base/test:test_support",
192 "//mojo/edk/system", 166 "//mojo/edk/system",
193 "//mojo/edk/test:test_support", 167 "//mojo/edk/test:test_support",
194 ] 168 ]
195 } 169 }
196 170
197 test("ipc_tests") { 171 test("ipc_tests") {
198 sources = [ 172 sources = [
199 "attachment_broker_mac_unittest.cc",
200 "attachment_broker_privileged_mac_unittest.cc",
201 "attachment_broker_privileged_win_unittest.cc",
202 "ipc_channel_mojo_unittest.cc", 173 "ipc_channel_mojo_unittest.cc",
203 "ipc_channel_posix_unittest.cc",
204 "ipc_channel_proxy_unittest.cc", 174 "ipc_channel_proxy_unittest.cc",
205 "ipc_channel_reader_unittest.cc", 175 "ipc_channel_reader_unittest.cc",
206 "ipc_fuzzing_tests.cc", 176 "ipc_fuzzing_tests.cc",
207 "ipc_message_attachment_set_posix_unittest.cc", 177 "ipc_message_attachment_set_posix_unittest.cc",
208 "ipc_message_unittest.cc", 178 "ipc_message_unittest.cc",
209 "ipc_message_utils_unittest.cc", 179 "ipc_message_utils_unittest.cc",
210 "ipc_mojo_bootstrap_unittest.cc", 180 "ipc_mojo_bootstrap_unittest.cc",
211 "ipc_sync_channel_unittest.cc", 181 "ipc_sync_channel_unittest.cc",
212 "ipc_sync_message_unittest.cc", 182 "ipc_sync_message_unittest.cc",
213 "ipc_sync_message_unittest.h", 183 "ipc_sync_message_unittest.h",
214 "ipc_test_message_generator.cc", 184 "ipc_test_message_generator.cc",
215 "ipc_test_message_generator.h", 185 "ipc_test_message_generator.h",
216 "ipc_test_messages.h", 186 "ipc_test_messages.h",
217 "sync_socket_unittest.cc", 187 "sync_socket_unittest.cc",
218 ] 188 ]
219 189
220 if (!is_win && !is_ios) { 190 if (!is_win && !is_ios) {
221 sources += [ "unix_domain_socket_util_unittest.cc" ] 191 sources += [ "unix_domain_socket_util_unittest.cc" ]
222 } 192 }
223 193
224 if (!is_android) {
225 sources += [ "ipc_channel_unittest.cc" ]
226 }
227
228 if (!is_ios) { 194 if (!is_ios) {
229 sources += [ "ipc_send_fds_test.cc" ] 195 sources += [ "ipc_send_fds_test.cc" ]
230 } 196 }
231 197
232 deps = [ 198 deps = [
233 ":ipc", 199 ":ipc",
234 ":mojom", 200 ":mojom",
235 ":run_all_unittests", 201 ":run_all_unittests",
236 ":test_interfaces", 202 ":test_interfaces",
237 ":test_support", 203 ":test_support",
238 "//base", 204 "//base",
239 "//base:i18n", 205 "//base:i18n",
240 "//base/test:test_support", 206 "//base/test:test_support",
241 "//crypto", 207 "//crypto",
242 "//mojo/edk/system", 208 "//mojo/edk/system",
243 "//mojo/edk/test:test_support", 209 "//mojo/edk/test:test_support",
244 "//testing/gtest", 210 "//testing/gtest",
245 ] 211 ]
246 212
247 if (is_mac) { 213 if (is_mac) {
248 deps += [ "//sandbox/mac:seatbelt" ] 214 deps += [ "//sandbox/mac:seatbelt" ]
249 } 215 }
250 } 216 }
251 217
252 test("ipc_perftests") { 218 test("ipc_perftests") {
253 sources = [ 219 sources = [
254 "ipc_mojo_perftest.cc", 220 "ipc_mojo_perftest.cc",
255 "ipc_perftests.cc",
256 "run_all_perftests.cc", 221 "run_all_perftests.cc",
257 ] 222 ]
258 223
259 deps = [ 224 deps = [
260 ":ipc", 225 ":ipc",
261 ":test_support", 226 ":test_support",
262 "//base", 227 "//base",
263 "//base:i18n", 228 "//base:i18n",
264 "//base/test:test_support", 229 "//base/test:test_support",
265 "//mojo/edk/system", 230 "//mojo/edk/system",
266 "//mojo/edk/test:test_support", 231 "//mojo/edk/test:test_support",
267 "//testing/gtest", 232 "//testing/gtest",
268 ] 233 ]
269 } 234 }
270 235
271 static_library("test_support") { 236 static_library("test_support") {
272 testonly = true 237 testonly = true
273 sources = [ 238 sources = [
274 "ipc_multiprocess_test.cc",
275 "ipc_multiprocess_test.h",
276 "ipc_perftest_support.cc", 239 "ipc_perftest_support.cc",
277 "ipc_perftest_support.h", 240 "ipc_perftest_support.h",
278 "ipc_security_test_util.cc", 241 "ipc_security_test_util.cc",
279 "ipc_security_test_util.h", 242 "ipc_security_test_util.h",
280 "ipc_test_base.cc", 243 "ipc_test_base.cc",
281 "ipc_test_base.h", 244 "ipc_test_base.h",
282 "ipc_test_channel_listener.cc", 245 "ipc_test_channel_listener.cc",
283 "ipc_test_channel_listener.h", 246 "ipc_test_channel_listener.h",
284 "ipc_test_sink.cc", 247 "ipc_test_sink.cc",
285 "ipc_test_sink.h", 248 "ipc_test_sink.h",
286 "test_util_mac.cc", 249 "test_util_mac.cc",
287 "test_util_mac.h", 250 "test_util_mac.h",
288 ] 251 ]
289 public_deps = [ 252 public_deps = [
290 ":ipc", 253 ":ipc",
291 ] 254 ]
292 deps = [ 255 deps = [
293 "//base", 256 "//base",
294 "//base/test:test_support", 257 "//base/test:test_support",
295 "//mojo/edk/test:test_support", 258 "//mojo/edk/test:test_support",
296 "//testing/gtest", 259 "//testing/gtest",
297 ] 260 ]
298 } 261 }
299 } 262 }
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_channel.cc ('k') | ipc/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698