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',
23 '../crypto/crypto.gyp:crypto',
25 # TODO(gregoryd): direct_dependent_settings should be shared with the
26 # 64-bit target, but it doesn't work due to a bug in gyp
27 'direct_dependent_settings': {
34 'target_name': 'ipc_tests',
35 'type': '<(gtest_target_type)',
39 '../base/base.gyp:base',
40 '../base/base.gyp:base_i18n',
41 '../base/base.gyp:test_support_base',
42 '../testing/gtest.gyp:gtest',
48 'attachment_broker_privileged_win_unittest.cc',
49 'attachment_broker_unprivileged_win_unittest.cc',
50 'ipc_channel_posix_unittest.cc',
51 'ipc_channel_proxy_unittest.cc',
52 'ipc_channel_reader_unittest.cc',
53 'ipc_channel_unittest.cc',
54 'ipc_fuzzing_tests.cc',
55 'ipc_message_attachment_set_posix_unittest.cc',
56 'ipc_message_unittest.cc',
57 'ipc_message_utils_unittest.cc',
58 'ipc_send_fds_test.cc',
59 'ipc_sync_channel_unittest.cc',
60 'ipc_sync_message_unittest.cc',
61 'ipc_sync_message_unittest.h',
62 'run_all_unittests.cc',
63 'sync_socket_unittest.cc',
64 'unix_domain_socket_util_unittest.cc',
67 ['OS == "win" or OS == "ios"', {
69 'unix_domain_socket_util_unittest.cc',
74 '../testing/android/native_test.gyp:native_test_native_code',
77 ['os_posix == 1 and OS != "mac" and OS != "android"', {
79 ['use_allocator!="none"', {
81 '../base/allocator/allocator.gyp:allocator',
89 'target_name': 'ipc_perftests',
90 'type': '<(gtest_target_type)',
91 # TODO(viettrungluu): Figure out which dependencies are really needed.
95 '../base/base.gyp:base',
96 '../base/base.gyp:base_i18n',
97 '../base/base.gyp:test_support_base',
98 '../base/base.gyp:test_support_perf',
99 '../testing/gtest.gyp:gtest',
110 ['OS == "android"', {
112 '../testing/android/native_test.gyp:native_test_native_code',
115 ['os_posix == 1 and OS != "mac" and OS != "android"', {
117 ['use_allocator!="none"', {
119 '../base/allocator/allocator.gyp:allocator',
127 'target_name': 'test_support_ipc',
128 'type': 'static_library',
131 '../base/base.gyp:base',
132 '../testing/gtest.gyp:gtest',
135 'ipc_multiprocess_test.cc',
136 'ipc_multiprocess_test.h',
137 'ipc_perftest_support.cc',
138 'ipc_perftest_support.h',
139 'ipc_security_test_util.cc',
140 'ipc_security_test_util.h',
143 'ipc_test_channel_listener.cc',
144 'ipc_test_channel_listener.h',
151 ['OS=="win" and target_arch=="ia32"', {
154 'target_name': 'ipc_win64',
155 'type': '<(component)',
160 '../base/base.gyp:base_win64',
161 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is
163 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
164 '../crypto/crypto.gyp:crypto_nacl_win64',
166 # TODO(gregoryd): direct_dependent_settings should be shared with the
167 # 32-bit target, but it doesn't work due to a bug in gyp
168 'direct_dependent_settings': {
175 'msvs_target_platform': 'x64',
181 ['OS == "android"', {
184 'target_name': 'ipc_tests_apk',
190 'test_suite_name': 'ipc_tests',
192 'includes': [ '../build/apk_test.gypi' ],
195 'target_name': 'ipc_perftests_apk',
201 'test_suite_name': 'ipc_perftests',
203 'includes': [ '../build/apk_test.gypi' ],
206 ['test_isolation_mode != "noop"', {
209 'target_name': 'ipc_tests_run',
215 '../build/isolate.gypi',