1 # Copyright (c) 2009 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 '../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_send_fds_test.cc',
52 'ipc_sync_channel_unittest.cc',
53 'ipc_sync_message_unittest.cc',
54 'ipc_sync_message_unittest.h',
57 'sync_socket_unittest.cc',
60 ['toolkit_uses_gtk == 1', {
62 '../build/linux/system.gyp:gtk',
65 ['os_posix == 1 and OS != "mac"', {
67 ['linux_use_tcmalloc==1', {
69 '../base/allocator/allocator.gyp:allocator',
77 'target_name': 'test_support_ipc',
78 'type': 'static_library',
81 '../base/base.gyp:base',