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 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
23 # TODO(gregoryd): direct_dependent_settings should be shared with the
24 # 64-bit target, but it doesn't work due to a bug in gyp
25 'direct_dependent_settings': {
32 'target_name': 'ipc_tests',
33 'type': '<(gtest_target_type)',
37 '../base/base.gyp:base',
38 '../base/base.gyp:base_i18n',
39 '../base/base.gyp:test_support_base',
40 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
41 '../testing/gtest.gyp:gtest',
47 'file_descriptor_set_posix_unittest.cc',
48 'ipc_channel_posix_unittest.cc',
49 'ipc_fuzzing_tests.cc',
50 'ipc_message_unittest.cc',
51 'ipc_message_utils_unittest.cc',
52 'ipc_send_fds_test.cc',
53 'ipc_sync_channel_unittest.cc',
54 'ipc_sync_message_unittest.cc',
55 'ipc_sync_message_unittest.h',
58 'sync_socket_unittest.cc',
61 ['toolkit_uses_gtk == 1', {
63 '../build/linux/system.gyp:gtk',
66 ['OS == "android" and gtest_target_type == "shared_library"', {
68 '../testing/android/native_test.gyp:native_test_native_code',
71 ['os_posix == 1 and OS != "mac" and OS != "android"', {
73 ['linux_use_tcmalloc==1', {
75 '../base/allocator/allocator.gyp:allocator',
83 'target_name': 'test_support_ipc',
84 'type': 'static_library',
87 '../base/base.gyp:base',
88 '../testing/gtest.gyp:gtest',
91 'ipc_multiprocess_test.cc',
92 'ipc_multiprocess_test.h',
102 'target_name': 'ipc_win64',
103 'type': '<(component)',
108 '../base/base.gyp:base_nacl_win64',
109 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
111 # TODO(gregoryd): direct_dependent_settings should be shared with the
112 # 32-bit target, but it doesn't work due to a bug in gyp
113 'direct_dependent_settings': {
120 'msvs_target_platform': 'x64',
126 # Special target to wrap a gtest_target_type==shared_library
127 # ipc_tests into an android apk for execution.
128 # See base.gyp for TODO(jrg)s about this strategy.
129 ['OS == "android" and gtest_target_type == "shared_library"', {
132 'target_name': 'ipc_tests_apk',
135 '../base/base.gyp:base_java',
139 'test_suite_name': 'ipc_tests',
140 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ipc_tests<(SHARED_LIB_SUFFIX)',
142 'includes': [ '../build/apk_test.gypi' ],