[content shell] implement testRunner.overridePreference
[chromium-blink-merge.git] / ipc / ipc.gypi
blobef986a7bbd1535a73ad4379e62842e8437843c1a
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.
6   'target_defaults': {
7     'variables': {
8       'ipc_target': 0,
9     },
10     'target_conditions': [
11       # This part is shared between the targets defined below.
12       ['ipc_target==1', {
13         'sources': [
14           'file_descriptor_set_posix.cc',
15           'file_descriptor_set_posix.h',
16           'ipc_channel.h',
17           'ipc_channel.cc',
18           'ipc_channel_handle.h',
19           'ipc_channel_nacl.cc',
20           'ipc_channel_nacl.h',
21           'ipc_channel_posix.cc',
22           'ipc_channel_posix.h',
23           'ipc_channel_proxy.cc',
24           'ipc_channel_proxy.h',
25           'ipc_channel_reader.cc',
26           'ipc_channel_reader.h',
27           'ipc_channel_win.cc',
28           'ipc_channel_win.h',
29           'ipc_descriptors.h',
30           'ipc_export.h',
31           'ipc_forwarding_message_filter.cc',
32           'ipc_forwarding_message_filter.h',
33           'ipc_listener.h',
34           'ipc_logging.cc',
35           'ipc_logging.h',
36           'ipc_message.cc',
37           'ipc_message.h',
38           'ipc_message_macros.h',
39           'ipc_message_start.h',
40           'ipc_message_utils.cc',
41           'ipc_message_utils.h',
42           'ipc_param_traits.h',
43           'ipc_platform_file.cc',
44           'ipc_platform_file.h',
45           'ipc_sender.h',
46           'ipc_switches.cc',
47           'ipc_switches.h',
48           'ipc_sync_channel.cc',
49           'ipc_sync_channel.h',
50           'ipc_sync_message.cc',
51           'ipc_sync_message.h',
52           'ipc_sync_message_filter.cc',
53           'ipc_sync_message_filter.h',
54           'param_traits_log_macros.h',
55           'param_traits_macros.h',
56           'param_traits_read_macros.h',
57           'param_traits_write_macros.h',
58           'struct_constructor_macros.h',
59           'struct_destructor_macros.h',
60         ],
61         'defines': [
62           'IPC_IMPLEMENTATION',
63         ],
64         'include_dirs': [
65           '..',
66         ],
67         'target_conditions': [
68           ['>(nacl_untrusted_build)==1', {
69             'sources!': [
70               'ipc_channel.cc',
71               'ipc_channel_posix.cc',
72             ],
73           }],
74         ],
75       }],
76     ],
77   },