1 # Copyright (c) 2011 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.
12 ['exclude', '_(posix|win)(_unittest)?\\.(cc|mm?)$'],
13 ['exclude', '/win_[^/]*\\.cc$'],
16 ['os_posix == 1 and OS != "mac"', {'sources/': [
17 ['include', '_posix(_unittest)?\\.cc$'],
19 ['OS=="mac"', {'sources/': [
20 ['include', '_posix(_unittest)?\\.(cc|mm?)$'],
22 ['OS=="win"', {'sources/': [
23 ['include', '_win(_unittest)?\\.cc$'],
25 ['include', '/win_[^/]*\\.cc$'],
34 'target_name': 'ipc_tests',
38 '../base/base.gyp:base',
39 '../base/base.gyp:base_i18n',
40 '../base/base.gyp:test_support_base',
41 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
42 '../testing/gtest.gyp:gtest',
48 'file_descriptor_set_posix_unittest.cc',
49 'ipc_channel_posix_unittest.cc',
50 'ipc_fuzzing_tests.cc',
51 'ipc_message_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_posix == 1 and OS != "mac" and OS != "android"', {
68 ['linux_use_tcmalloc==1', {
70 '../base/allocator/allocator.gyp:allocator',
78 'target_name': 'test_support_ipc',
79 'type': 'static_library',
82 '../base/base.gyp:base',