Update V8 to version 4.7.21.
[chromium-blink-merge.git] / ipc / ipc.gypi
blobbeb0a6a38cd654eb4072278dbb205f000e7d35c4
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           'struct_constructor_macros.h',
91           'struct_destructor_macros.h',
92           'unix_domain_socket_util.cc',
93           'unix_domain_socket_util.h',
94         ],
95         'defines': [
96           'IPC_IMPLEMENTATION',
97         ],
98         'include_dirs': [
99           '..',
100         ],
101         'target_conditions': [
102           ['>(nacl_untrusted_build)==1', {
103             'sources!': [
104               'ipc_channel.cc',
105               'ipc_channel_posix.cc',
106               'unix_domain_socket_util.cc',
107             ],
108           }],
109           ['OS == "win" or OS == "ios"', {
110             'sources!': [
111               'unix_domain_socket_util.cc',
112             ],
113           }],
114         ],
115       }],
116     ],
117   },