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': {
33 'target_name': 'ipc_tests',
34 'type': '<(gtest_target_type)',
38 '../base/base.gyp:base',
39 '../base/base.gyp:base_i18n',
40 '../base/base.gyp:test_support_base',
41 '../testing/gtest.gyp:gtest',
47 'file_descriptor_set_posix_unittest.cc',
48 'ipc_channel_posix_unittest.cc',
49 'ipc_channel_proxy_unittest.cc',
50 'ipc_channel_unittest.cc',
51 'ipc_fuzzing_tests.cc',
52 'ipc_message_unittest.cc',
53 'ipc_message_utils_unittest.cc',
54 'ipc_send_fds_test.cc',
55 'ipc_sync_channel_unittest.cc',
56 'ipc_sync_message_unittest.cc',
57 'ipc_sync_message_unittest.h',
58 'run_all_unittests.cc',
59 'sync_socket_unittest.cc',
60 'unix_domain_socket_util_unittest.cc',
63 ['OS == "win" or OS == "ios"', {
65 'unix_domain_socket_util_unittest.cc',
70 '../testing/android/native_test.gyp:native_test_native_code',
73 ['os_posix == 1 and OS != "mac" and OS != "android"', {
75 ['use_allocator!="none"', {
77 '../base/allocator/allocator.gyp:allocator',
85 'target_name': 'ipc_perftests',
86 'type': '<(gtest_target_type)',
87 # TODO(viettrungluu): Figure out which dependencies are really needed.
91 '../base/base.gyp:base',
92 '../base/base.gyp:base_i18n',
93 '../base/base.gyp:test_support_base',
94 '../base/base.gyp:test_support_perf',
95 '../testing/gtest.gyp:gtest',
106 ['OS == "android"', {
108 '../testing/android/native_test.gyp:native_test_native_code',
111 ['os_posix == 1 and OS != "mac" and OS != "android"', {
113 ['use_allocator!="none"', {
115 '../base/allocator/allocator.gyp:allocator',
123 'target_name': 'test_support_ipc',
124 'type': 'static_library',
127 '../base/base.gyp:base',
128 '../testing/gtest.gyp:gtest',
131 'ipc_multiprocess_test.cc',
132 'ipc_multiprocess_test.h',
133 'ipc_perftest_support.cc',
134 'ipc_perftest_support.h',
135 'ipc_security_test_util.cc',
136 'ipc_security_test_util.h',
139 'ipc_test_channel_listener.cc',
140 'ipc_test_channel_listener.h',
147 ['OS=="win" and target_arch=="ia32"', {
150 'target_name': 'ipc_win64',
151 'type': '<(component)',
156 '../base/base.gyp:base_win64',
157 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is
159 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
161 # TODO(gregoryd): direct_dependent_settings should be shared with the
162 # 32-bit target, but it doesn't work due to a bug in gyp
163 'direct_dependent_settings': {
170 'msvs_target_platform': 'x64',
176 ['OS == "android"', {
179 'target_name': 'ipc_tests_apk',
185 'test_suite_name': 'ipc_tests',
187 'includes': [ '../build/apk_test.gypi' ],
190 'target_name': 'ipc_perftests_apk',
196 'test_suite_name': 'ipc_perftests',
198 'includes': [ '../build/apk_test.gypi' ],