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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 component("ipc") { | 7 component("ipc") { |
8 sources = [ | 8 sources = [ |
9 "attachment_broker.h", | 9 "attachment_broker.h", |
| 10 "attachment_broker_messages.h", |
10 "attachment_broker_win.cc", | 11 "attachment_broker_win.cc", |
11 "attachment_broker_win.h", | 12 "attachment_broker_win.h", |
12 "brokerable_attachment.cc", | 13 "brokerable_attachment.cc", |
13 "brokerable_attachment.h", | 14 "brokerable_attachment.h", |
| 15 "handle_attachment_win.cc", |
14 "handle_attachment_win.h", | 16 "handle_attachment_win.h", |
15 "ipc_channel.cc", | 17 "ipc_channel.cc", |
16 "ipc_channel.h", | 18 "ipc_channel.h", |
17 "ipc_channel_common.cc", | 19 "ipc_channel_common.cc", |
18 "ipc_channel_factory.cc", | 20 "ipc_channel_factory.cc", |
19 "ipc_channel_factory.h", | 21 "ipc_channel_factory.h", |
20 "ipc_channel_handle.h", | 22 "ipc_channel_handle.h", |
21 "ipc_channel_nacl.cc", | 23 "ipc_channel_nacl.cc", |
22 "ipc_channel_nacl.h", | 24 "ipc_channel_nacl.h", |
23 "ipc_channel_posix.cc", | 25 "ipc_channel_posix.cc", |
24 "ipc_channel_posix.h", | 26 "ipc_channel_posix.h", |
25 "ipc_channel_proxy.cc", | 27 "ipc_channel_proxy.cc", |
26 "ipc_channel_proxy.h", | 28 "ipc_channel_proxy.h", |
27 "ipc_channel_reader.cc", | 29 "ipc_channel_reader.cc", |
28 "ipc_channel_reader.h", | 30 "ipc_channel_reader.h", |
29 "ipc_channel_win.cc", | 31 "ipc_channel_win.cc", |
30 "ipc_channel_win.h", | 32 "ipc_channel_win.h", |
31 "ipc_descriptors.h", | 33 "ipc_descriptors.h", |
32 "ipc_export.h", | 34 "ipc_export.h", |
33 "ipc_forwarding_message_filter.cc", | 35 "ipc_forwarding_message_filter.cc", |
34 "ipc_forwarding_message_filter.h", | 36 "ipc_forwarding_message_filter.h", |
| 37 "ipc_handle_win.cc", |
| 38 "ipc_handle_win.h", |
35 "ipc_listener.h", | 39 "ipc_listener.h", |
36 "ipc_logging.cc", | 40 "ipc_logging.cc", |
37 "ipc_logging.h", | 41 "ipc_logging.h", |
38 "ipc_message.cc", | 42 "ipc_message.cc", |
39 "ipc_message.h", | 43 "ipc_message.h", |
40 "ipc_message_attachment.cc", | 44 "ipc_message_attachment.cc", |
41 "ipc_message_attachment.h", | 45 "ipc_message_attachment.h", |
42 "ipc_message_attachment_set.cc", | 46 "ipc_message_attachment_set.cc", |
43 "ipc_message_attachment_set.h", | 47 "ipc_message_attachment_set.h", |
| 48 "ipc_message_generator.cc", |
| 49 "ipc_message_generator.h", |
44 "ipc_message_macros.h", | 50 "ipc_message_macros.h", |
45 "ipc_message_start.h", | 51 "ipc_message_start.h", |
46 "ipc_message_utils.cc", | 52 "ipc_message_utils.cc", |
47 "ipc_message_utils.h", | 53 "ipc_message_utils.h", |
48 "ipc_param_traits.h", | 54 "ipc_param_traits.h", |
49 "ipc_platform_file.cc", | 55 "ipc_platform_file.cc", |
50 "ipc_platform_file.h", | 56 "ipc_platform_file.h", |
51 "ipc_platform_file_attachment_posix.cc", | 57 "ipc_platform_file_attachment_posix.cc", |
52 "ipc_platform_file_attachment_posix.h", | 58 "ipc_platform_file_attachment_posix.h", |
53 "ipc_sender.h", | 59 "ipc_sender.h", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 sources -= [ "unix_domain_socket_util.cc" ] | 96 sources -= [ "unix_domain_socket_util.cc" ] |
91 } | 97 } |
92 | 98 |
93 defines = [ "IPC_IMPLEMENTATION" ] | 99 defines = [ "IPC_IMPLEMENTATION" ] |
94 | 100 |
95 deps = [ | 101 deps = [ |
96 "//base", | 102 "//base", |
97 | 103 |
98 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. | 104 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
99 "//base/third_party/dynamic_annotations", | 105 "//base/third_party/dynamic_annotations", |
| 106 "//crypto:crypto", |
100 ] | 107 ] |
101 } | 108 } |
102 | 109 |
103 # TODO(GYP): crbug.com/360936. Get this to build and run on Android. | 110 # TODO(GYP): crbug.com/360936. Get this to build and run on Android. |
104 if (!is_android) { | 111 if (!is_android) { |
105 test("ipc_tests") { | 112 test("ipc_tests") { |
106 sources = [ | 113 sources = [ |
107 "ipc_channel_posix_unittest.cc", | 114 "ipc_channel_posix_unittest.cc", |
108 "ipc_channel_unittest.cc", | 115 "ipc_channel_unittest.cc", |
109 "ipc_fuzzing_tests.cc", | 116 "ipc_fuzzing_tests.cc", |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 "ipc_test_sink.cc", | 196 "ipc_test_sink.cc", |
190 "ipc_test_sink.h", | 197 "ipc_test_sink.h", |
191 ] | 198 ] |
192 deps = [ | 199 deps = [ |
193 ":ipc", | 200 ":ipc", |
194 "//base", | 201 "//base", |
195 "//base/test:test_support", | 202 "//base/test:test_support", |
196 "//testing/gtest", | 203 "//testing/gtest", |
197 ] | 204 ] |
198 } | 205 } |
OLD | NEW |