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.
15 'type': '<(component)',
20 '../base/base.gyp:base',
21 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
22 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
24 # TODO(gregoryd): direct_dependent_settings should be shared with the
25 # 64-bit target, but it doesn't work due to a bug in gyp
26 'direct_dependent_settings': {
34 '../crypto/crypto.gyp:crypto',
40 'target_name': 'ipc_tests',
41 'type': '<(gtest_target_type)',
45 '../base/base.gyp:base',
46 '../base/base.gyp:base_i18n',
47 '../base/base.gyp:test_support_base',
48 '../crypto/crypto.gyp:crypto',
49 '../testing/gtest.gyp:gtest',
55 'attachment_broker_privileged_win_unittest.cc',
56 'attachment_broker_unprivileged_win_unittest.cc',
57 'ipc_channel_posix_unittest.cc',
58 'ipc_channel_proxy_unittest.cc',
59 'ipc_channel_reader_unittest.cc',
60 'ipc_channel_unittest.cc',
61 'ipc_fuzzing_tests.cc',
62 'ipc_message_attachment_set_posix_unittest.cc',
63 'ipc_message_unittest.cc',
64 'ipc_message_utils_unittest.cc',
65 'ipc_send_fds_test.cc',
66 'ipc_sync_channel_unittest.cc',
67 'ipc_sync_message_unittest.cc',
68 'ipc_sync_message_unittest.h',
69 'run_all_unittests.cc',
70 'sync_socket_unittest.cc',
71 'unix_domain_socket_util_unittest.cc',
74 ['OS == "win" or OS == "ios"', {
76 'unix_domain_socket_util_unittest.cc',
81 '../testing/android/native_test.gyp:native_test_native_code',
84 ['os_posix == 1 and OS != "mac" and OS != "android"', {
86 ['use_allocator!="none"', {
88 '../base/allocator/allocator.gyp:allocator',
96 'target_name': 'ipc_perftests',
97 'type': '<(gtest_target_type)',
98 # TODO(viettrungluu): Figure out which dependencies are really needed.
102 '../base/base.gyp:base',
103 '../base/base.gyp:base_i18n',
104 '../base/base.gyp:test_support_base',
105 '../base/base.gyp:test_support_perf',
106 '../testing/gtest.gyp:gtest',
117 ['OS == "android"', {
119 '../testing/android/native_test.gyp:native_test_native_code',
122 ['os_posix == 1 and OS != "mac" and OS != "android"', {
124 ['use_allocator!="none"', {
126 '../base/allocator/allocator.gyp:allocator',
134 'target_name': 'test_support_ipc',
135 'type': 'static_library',
138 '../base/base.gyp:base',
139 '../testing/gtest.gyp:gtest',
142 'ipc_multiprocess_test.cc',
143 'ipc_multiprocess_test.h',
144 'ipc_perftest_support.cc',
145 'ipc_perftest_support.h',
146 'ipc_security_test_util.cc',
147 'ipc_security_test_util.h',
150 'ipc_test_channel_listener.cc',
151 'ipc_test_channel_listener.h',
158 ['OS=="win" and target_arch=="ia32"', {
161 'target_name': 'ipc_win64',
162 'type': '<(component)',
167 '../base/base.gyp:base_win64',
168 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is
170 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
171 '../crypto/crypto.gyp:crypto_nacl_win64',
173 # TODO(gregoryd): direct_dependent_settings should be shared with the
174 # 32-bit target, but it doesn't work due to a bug in gyp
175 'direct_dependent_settings': {
182 'msvs_target_platform': 'x64',
188 ['OS == "android"', {
191 'target_name': 'ipc_tests_apk',
197 'test_suite_name': 'ipc_tests',
199 'includes': [ '../build/apk_test.gypi' ],
202 'target_name': 'ipc_perftests_apk',
208 'test_suite_name': 'ipc_perftests',
210 'includes': [ '../build/apk_test.gypi' ],
213 ['test_isolation_mode != "noop"', {
216 'target_name': 'ipc_tests_run',
222 '../build/isolate.gypi',