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
3 # found in the LICENSE file.
8 "file_descriptor_set_posix.cc",
9 "file_descriptor_set_posix.h",
12 "ipc_channel_factory.cc",
13 "ipc_channel_factory.h",
14 "ipc_channel_handle.h",
15 "ipc_channel_nacl.cc",
17 "ipc_channel_posix.cc",
18 "ipc_channel_posix.h",
19 "ipc_channel_proxy.cc",
20 "ipc_channel_proxy.h",
21 "ipc_channel_reader.cc",
22 "ipc_channel_reader.h",
27 "ipc_forwarding_message_filter.cc",
28 "ipc_forwarding_message_filter.h",
34 "ipc_message_macros.h",
35 "ipc_message_start.h",
36 "ipc_message_utils.cc",
37 "ipc_message_utils.h",
39 "ipc_platform_file.cc",
40 "ipc_platform_file.h",
44 "ipc_sync_channel.cc",
46 "ipc_sync_message.cc",
48 "ipc_sync_message_filter.cc",
49 "ipc_sync_message_filter.h",
50 "param_traits_log_macros.h",
51 "param_traits_macros.h",
52 "param_traits_read_macros.h",
53 "param_traits_write_macros.h",
54 "struct_constructor_macros.h",
55 "struct_destructor_macros.h",
56 "unix_domain_socket_util.cc",
57 "unix_domain_socket_util.h",
60 #if (!is_untrusted_nacl) {
62 "ipc_channel_nacl.cc",
66 if (is_win || is_ios) {
68 "ipc_channel_factory.cc",
69 "unix_domain_socket_util.cc",
73 defines = [ "IPC_IMPLEMENTATION" ]
77 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
78 "//base/third_party/dynamic_annotations",
85 "file_descriptor_set_posix_unittest.cc",
86 "ipc_channel_posix_unittest.cc",
87 "ipc_channel_unittest.cc",
88 "ipc_fuzzing_tests.cc",
89 "ipc_message_unittest.cc",
90 "ipc_message_utils_unittest.cc",
91 "ipc_send_fds_test.cc",
92 "ipc_sync_channel_unittest.cc",
93 "ipc_sync_message_unittest.cc",
94 "ipc_sync_message_unittest.h",
97 "sync_socket_unittest.cc",
98 "unix_domain_socket_util_unittest.cc",
101 if (is_win || is_ios) {
102 sources -= "unix_domain_socket_util_unittest.cc"
104 #if (is_android && gtest_target_type == "shared_library") {
105 # deps += "/testing/android/native_test.gyp:native_testNative_code"
107 #if (is_posix && !is_mac && !is_android) {
108 # if (linux_use_tcmalloc) {
109 # deps += "/base/allocator"
118 "//base:run_all_unittests",
119 "//base:test_support_base",
124 test("ipc_perftests") {
132 #if (is_android && gtest_target_type == "shared_library") {
133 # deps += "/testing/android/native_test.gyp:native_testNative_code"
135 #if (is_posix && !is_mac && !is_android) {
136 # if (linux_use_tcmalloc) {
137 # deps += "/base/allocator"
146 "//base:test_support_base",
147 "//base:test_support_perf",
152 static_library("test_support_ipc") {
155 "ipc_multiprocess_test.cc",
156 "ipc_multiprocess_test.h",