Sync: Display non-severe errors on about:sync in gray color rather than red.
[chromium-blink-merge.git] / ipc / ipc.gypi
blob5cf5051bd0ed518c2d4ebcac558cca0694807989
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.cc',
17           'ipc_channel.h',
18           'ipc_channel_common.cc',
19           'ipc_channel_handle.h',
20           'ipc_channel_nacl.cc',
21           'ipc_channel_nacl.h',
22           'ipc_channel_posix.cc',
23           'ipc_channel_posix.h',
24           'ipc_channel_proxy.cc',
25           'ipc_channel_proxy.h',
26           'ipc_channel_reader.cc',
27           'ipc_channel_reader.h',
28           'ipc_channel_win.cc',
29           'ipc_channel_win.h',
30           'ipc_descriptors.h',
31           'ipc_export.h',
32           'ipc_forwarding_message_filter.cc',
33           'ipc_forwarding_message_filter.h',
34           'ipc_listener.h',
35           'ipc_logging.cc',
36           'ipc_logging.h',
37           'ipc_message.cc',
38           'ipc_message.h',
39           'ipc_message_macros.h',
40           'ipc_message_start.h',
41           'ipc_message_utils.cc',
42           'ipc_message_utils.h',
43           'ipc_param_traits.h',
44           'ipc_platform_file.cc',
45           'ipc_platform_file.h',
46           'ipc_sender.h',
47           'ipc_switches.cc',
48           'ipc_switches.h',
49           'ipc_sync_channel.cc',
50           'ipc_sync_channel.h',
51           'ipc_sync_message.cc',
52           'ipc_sync_message.h',
53           'ipc_sync_message_filter.cc',
54           'ipc_sync_message_filter.h',
55           'message_filter.cc',
56           'message_filter.h',
57           'message_filter_router.cc',
58           'message_filter_router.h',
59           'param_traits_log_macros.h',
60           'param_traits_macros.h',
61           'param_traits_read_macros.h',
62           'param_traits_write_macros.h',
63           'struct_constructor_macros.h',
64           'struct_destructor_macros.h',
65           'unix_domain_socket_util.cc',
66           'unix_domain_socket_util.h',
67         ],
68         'defines': [
69           'IPC_IMPLEMENTATION',
70         ],
71         'include_dirs': [
72           '..',
73         ],
74         'target_conditions': [
75           ['>(nacl_untrusted_build)==1', {
76             'sources!': [
77               'ipc_channel.cc',
78               'ipc_channel_posix.cc',
79               'unix_domain_socket_util.cc',
80             ],
81           }],
82           ['OS == "win" or OS == "ios"', {
83             'sources!': [
84               'unix_domain_socket_util.cc',
85             ],
86           }],
87         ],
88       }],
89     ],
90   },