[sqlite] Annotate Chromium-specific exposed functions with SQLITE_API.
[chromium-blink-merge.git] / ipc / ipc.gypi
blobdbcdec2779c97114a1e0912e4186ca94b3b0b657
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           'attachment_broker.cc',
15           'attachment_broker.h',
16           'attachment_broker_messages.h',
17           'attachment_broker_privileged.cc',
18           'attachment_broker_privileged.h',
19           'attachment_broker_privileged_win.cc',
20           'attachment_broker_privileged_win.h',
21           'attachment_broker_unprivileged.cc',
22           'attachment_broker_unprivileged.h',
23           'attachment_broker_unprivileged_win.cc',
24           'attachment_broker_unprivileged_win.h',
25           'brokerable_attachment.cc',
26           'brokerable_attachment.h',
27           'handle_attachment_win.cc',
28           'handle_attachment_win.h',
29           'handle_win.cc',
30           'handle_win.h',
31           'ipc_channel.cc',
32           'ipc_channel.h',
33           'ipc_channel_factory.cc',
34           'ipc_channel_factory.h',
35           'ipc_channel_common.cc',
36           'ipc_channel_handle.h',
37           'ipc_channel_nacl.cc',
38           'ipc_channel_nacl.h',
39           'ipc_channel_posix.cc',
40           'ipc_channel_posix.h',
41           'ipc_channel_proxy.cc',
42           'ipc_channel_proxy.h',
43           'ipc_channel_reader.cc',
44           'ipc_channel_reader.h',
45           'ipc_channel_win.cc',
46           'ipc_channel_win.h',
47           'ipc_descriptors.h',
48           'ipc_endpoint.cc',
49           'ipc_endpoint.h',
50           'ipc_export.h',
51           'ipc_handle_win.cc',
52           'ipc_handle_win.h',
53           'ipc_listener.h',
54           'ipc_logging.cc',
55           'ipc_logging.h',
56           'ipc_message.cc',
57           'ipc_message.h',
58           'ipc_message_attachment.cc',
59           'ipc_message_attachment.h',
60           'ipc_message_attachment_set.cc',
61           'ipc_message_attachment_set.h',
62           'ipc_message_generator.cc',
63           'ipc_message_generator.h',
64           'ipc_message_macros.h',
65           'ipc_message_start.h',
66           'ipc_message_utils.cc',
67           'ipc_message_utils.h',
68           'ipc_param_traits.h',
69           'ipc_platform_file.cc',
70           'ipc_platform_file.h',
71           'ipc_platform_file_attachment_posix.cc',
72           'ipc_platform_file_attachment_posix.h',
73           'ipc_sender.h',
74           'ipc_switches.cc',
75           'ipc_switches.h',
76           'ipc_sync_channel.cc',
77           'ipc_sync_channel.h',
78           'ipc_sync_message.cc',
79           'ipc_sync_message.h',
80           'ipc_sync_message_filter.cc',
81           'ipc_sync_message_filter.h',
82           'message_filter.cc',
83           'message_filter.h',
84           'message_filter_router.cc',
85           'message_filter_router.h',
86           'param_traits_log_macros.h',
87           'param_traits_macros.h',
88           'param_traits_read_macros.h',
89           'param_traits_write_macros.h',
90           'placeholder_brokerable_attachment.cc',
91           'placeholder_brokerable_attachment.h',
92           'struct_constructor_macros.h',
93           'struct_destructor_macros.h',
94           'unix_domain_socket_util.cc',
95           'unix_domain_socket_util.h',
96         ],
97         'defines': [
98           'IPC_IMPLEMENTATION',
99         ],
100         'include_dirs': [
101           '..',
102         ],
103         'target_conditions': [
104           ['>(nacl_untrusted_build)==1', {
105             'sources!': [
106               'ipc_channel.cc',
107               'ipc_channel_posix.cc',
108               'unix_domain_socket_util.cc',
109             ],
110           }],
111           ['OS == "win" or OS == "ios"', {
112             'sources!': [
113               'unix_domain_socket_util.cc',
114             ],
115           }],
116         ],
117       }],
118     ],
119   },