Removes some dead accessibility code.
[chromium-blink-merge.git] / ipc / ipc.gyp
blob8c045c9c27c76470e3e05c1ae7f74a91a8ba5b3e
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'target_defaults': {
10     'sources/': [
11       ['exclude', '/win/'],
12       ['exclude', '_(posix|win)(_unittest)?\\.(cc|mm?)$'],
13       ['exclude', '/win_[^/]*\\.cc$'],
14     ],
15     'conditions': [
16       ['os_posix == 1 and OS != "mac"', {'sources/': [
17         ['include', '_posix(_unittest)?\\.cc$'],
18       ]}],
19       ['OS=="mac"', {'sources/': [
20         ['include', '_posix(_unittest)?\\.(cc|mm?)$'],
21       ]}],
22       ['OS=="win"', {'sources/': [
23         ['include', '_win(_unittest)?\\.cc$'],
24         ['include', '/win/'],
25         ['include', '/win_[^/]*\\.cc$'],
26       ]}],
27     ],
28   },
29   'includes': [
30     'ipc.gypi',
31   ],
32   'targets': [
33     {
34       'target_name': 'ipc_tests',
35       'type': 'executable',
36       'dependencies': [
37         'ipc',
38         '../base/base.gyp:base',
39         '../base/base.gyp:base_i18n',
40         '../base/base.gyp:test_support_base',
41         '../testing/gtest.gyp:gtest',
42       ],
43       'include_dirs': [
44         '..'
45       ],
46       'sources': [
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',
55         'ipc_tests.cc',
56         'ipc_tests.h',
57         'sync_socket_unittest.cc',
58       ],
59       'conditions': [
60         ['toolkit_uses_gtk == 1', {
61           'dependencies': [
62             '../build/linux/system.gyp:gtk',
63           ],
64         }],
65         ['os_posix == 1 and OS != "mac"', {
66           'conditions': [
67             ['linux_use_tcmalloc==1', {
68               'dependencies': [
69                 '../base/allocator/allocator.gyp:allocator',
70               ],
71             }],
72           ],
73         }]
74       ],
75     },
76     {
77       'target_name': 'test_support_ipc',
78       'type': 'static_library',
79       'dependencies': [
80         'ipc',
81         '../base/base.gyp:base',
82       ],
83       'sources': [
84         'ipc_test_sink.cc',
85         'ipc_test_sink.h',
86       ],
87     },
88   ],