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 component("ipc") { | 5 component("ipc") { |
6 sources = [ | 6 sources = [ |
7 "file_descriptor_set_posix.cc", | 7 "file_descriptor_set_posix.cc", |
8 "file_descriptor_set_posix.h", | 8 "file_descriptor_set_posix.h", |
9 "ipc_channel.cc", | 9 "ipc_channel.cc", |
10 "ipc_channel.h", | 10 "ipc_channel.h", |
| 11 "ipc_channel_factory.cc", |
| 12 "ipc_channel_factory.h", |
11 "ipc_channel_common.cc", | 13 "ipc_channel_common.cc", |
12 "ipc_channel_handle.h", | 14 "ipc_channel_handle.h", |
13 "ipc_channel_nacl.cc", | 15 "ipc_channel_nacl.cc", |
14 "ipc_channel_nacl.h", | 16 "ipc_channel_nacl.h", |
15 "ipc_channel_posix.cc", | 17 "ipc_channel_posix.cc", |
16 "ipc_channel_posix.h", | 18 "ipc_channel_posix.h", |
17 "ipc_channel_proxy.cc", | 19 "ipc_channel_proxy.cc", |
18 "ipc_channel_proxy.h", | 20 "ipc_channel_proxy.h", |
19 "ipc_channel_reader.cc", | 21 "ipc_channel_reader.cc", |
20 "ipc_channel_reader.h", | 22 "ipc_channel_reader.h", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 "file_descriptor_set_posix_unittest.cc", | 90 "file_descriptor_set_posix_unittest.cc", |
89 "ipc_channel_posix_unittest.cc", | 91 "ipc_channel_posix_unittest.cc", |
90 "ipc_channel_unittest.cc", | 92 "ipc_channel_unittest.cc", |
91 "ipc_fuzzing_tests.cc", | 93 "ipc_fuzzing_tests.cc", |
92 "ipc_message_unittest.cc", | 94 "ipc_message_unittest.cc", |
93 "ipc_message_utils_unittest.cc", | 95 "ipc_message_utils_unittest.cc", |
94 "ipc_send_fds_test.cc", | 96 "ipc_send_fds_test.cc", |
95 "ipc_sync_channel_unittest.cc", | 97 "ipc_sync_channel_unittest.cc", |
96 "ipc_sync_message_unittest.cc", | 98 "ipc_sync_message_unittest.cc", |
97 "ipc_sync_message_unittest.h", | 99 "ipc_sync_message_unittest.h", |
98 "ipc_test_base.cc", | |
99 "ipc_test_base.h", | |
100 "sync_socket_unittest.cc", | 100 "sync_socket_unittest.cc", |
101 "unix_domain_socket_util_unittest.cc", | 101 "unix_domain_socket_util_unittest.cc", |
102 ] | 102 ] |
103 | 103 |
104 if (is_win || is_ios) { | 104 if (is_win || is_ios) { |
105 sources -= [ "unix_domain_socket_util_unittest.cc" ] | 105 sources -= [ "unix_domain_socket_util_unittest.cc" ] |
106 } | 106 } |
107 | 107 |
108 # TODO(brettw) hook up Android testing. | 108 # TODO(brettw) hook up Android testing. |
109 #if (is_android && gtest_target_type == "shared_library") { | 109 #if (is_android && gtest_target_type == "shared_library") { |
(...skipping 14 matching lines...) Expand all Loading... |
124 "//base:i18n", | 124 "//base:i18n", |
125 "//base/test:run_all_unittests", | 125 "//base/test:run_all_unittests", |
126 "//base/test:test_support", | 126 "//base/test:test_support", |
127 "//testing/gtest", | 127 "//testing/gtest", |
128 ] | 128 ] |
129 } | 129 } |
130 | 130 |
131 test("ipc_perftests") { | 131 test("ipc_perftests") { |
132 sources = [ | 132 sources = [ |
133 "ipc_perftests.cc", | 133 "ipc_perftests.cc", |
134 "ipc_test_base.cc", | |
135 "ipc_test_base.h", | |
136 ] | 134 ] |
137 | 135 |
138 # TODO(brettw) hook up Android testing. | 136 # TODO(brettw) hook up Android testing. |
139 #if (is_android && gtest_target_type == "shared_library") { | 137 #if (is_android && gtest_target_type == "shared_library") { |
140 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 138 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
141 #} | 139 #} |
142 | 140 |
143 # TODO(brettw) hook up tcmalloc to this target. | 141 # TODO(brettw) hook up tcmalloc to this target. |
144 #if (is_posix && !is_mac && !is_android) { | 142 #if (is_posix && !is_mac && !is_android) { |
145 # if (use_allocator!="none") { | 143 # if (use_allocator!="none") { |
(...skipping 12 matching lines...) Expand all Loading... |
158 ] | 156 ] |
159 } | 157 } |
160 } | 158 } |
161 | 159 |
162 static_library("test_support") { | 160 static_library("test_support") { |
163 sources = [ | 161 sources = [ |
164 "ipc_multiprocess_test.cc", | 162 "ipc_multiprocess_test.cc", |
165 "ipc_multiprocess_test.h", | 163 "ipc_multiprocess_test.h", |
166 "ipc_test_sink.cc", | 164 "ipc_test_sink.cc", |
167 "ipc_test_sink.h", | 165 "ipc_test_sink.h", |
| 166 "ipc_test_base.cc", |
| 167 "ipc_test_base.h", |
| 168 "ipc_test_channel_listener.h", |
| 169 "ipc_test_channel_listener.cc", |
168 ] | 170 ] |
169 deps = [ | 171 deps = [ |
170 ":ipc", | 172 ":ipc", |
171 "//base", | 173 "//base", |
172 "//testing/gtest", | 174 "//testing/gtest", |
173 ] | 175 ] |
174 } | 176 } |
175 | 177 |
OLD | NEW |