Fix compile issues in ExtensionError to bump compiler.
[chromium-blink-merge.git] / ipc / ipc.gypi
bloba10790ed103d6428ca30b2b0fb0a5b5154d171d0
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           'ipc_channel.cc',
15           'ipc_channel.h',
16           'ipc_channel_factory.cc',
17           'ipc_channel_factory.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_attachment.cc',
40           'ipc_message_attachment.h',
41           'ipc_message_attachment_set.cc',
42           'ipc_message_attachment_set.h',
43           'ipc_message_macros.h',
44           'ipc_message_start.h',
45           'ipc_message_utils.cc',
46           'ipc_message_utils.h',
47           'ipc_param_traits.h',
48           'ipc_platform_file.cc',
49           'ipc_platform_file.h',
50           'ipc_platform_file_attachment_posix.cc',
51           'ipc_platform_file_attachment_posix.h',
52           'ipc_sender.h',
53           'ipc_switches.cc',
54           'ipc_switches.h',
55           'ipc_sync_channel.cc',
56           'ipc_sync_channel.h',
57           'ipc_sync_message.cc',
58           'ipc_sync_message.h',
59           'ipc_sync_message_filter.cc',
60           'ipc_sync_message_filter.h',
61           'message_filter.cc',
62           'message_filter.h',
63           'message_filter_router.cc',
64           'message_filter_router.h',
65           'param_traits_log_macros.h',
66           'param_traits_macros.h',
67           'param_traits_read_macros.h',
68           'param_traits_write_macros.h',
69           'struct_constructor_macros.h',
70           'struct_destructor_macros.h',
71           'unix_domain_socket_util.cc',
72           'unix_domain_socket_util.h',
73         ],
74         'defines': [
75           'IPC_IMPLEMENTATION',
76         ],
77         'include_dirs': [
78           '..',
79         ],
80         'target_conditions': [
81           ['>(nacl_untrusted_build)==1', {
82             'sources!': [
83               'ipc_channel.cc',
84               'ipc_channel_posix.cc',
85               'unix_domain_socket_util.cc',
86             ],
87           }],
88           ['OS == "win" or OS == "ios"', {
89             'sources!': [
90               'unix_domain_socket_util.cc',
91             ],
92           }],
93         ],
94       }],
95     ],
96   },