Update base::StartsWith calls to new form.
[chromium-blink-merge.git] / ipc / ipc.gypi
blob65979d1885fc1ff5a235bdb95b09579b87091215
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.h',
15           'attachment_broker_win.cc',
16           'attachment_broker_win.h',
17           'brokerable_attachment.cc',
18           'brokerable_attachment.h',
19           'handle_attachment_win.h',
20           'ipc_channel.cc',
21           'ipc_channel.h',
22           'ipc_channel_factory.cc',
23           'ipc_channel_factory.h',
24           'ipc_channel_common.cc',
25           'ipc_channel_handle.h',
26           'ipc_channel_nacl.cc',
27           'ipc_channel_nacl.h',
28           'ipc_channel_posix.cc',
29           'ipc_channel_posix.h',
30           'ipc_channel_proxy.cc',
31           'ipc_channel_proxy.h',
32           'ipc_channel_reader.cc',
33           'ipc_channel_reader.h',
34           'ipc_channel_win.cc',
35           'ipc_channel_win.h',
36           'ipc_descriptors.h',
37           'ipc_export.h',
38           'ipc_forwarding_message_filter.cc',
39           'ipc_forwarding_message_filter.h',
40           'ipc_listener.h',
41           'ipc_logging.cc',
42           'ipc_logging.h',
43           'ipc_message.cc',
44           'ipc_message.h',
45           'ipc_message_attachment.cc',
46           'ipc_message_attachment.h',
47           'ipc_message_attachment_set.cc',
48           'ipc_message_attachment_set.h',
49           'ipc_message_macros.h',
50           'ipc_message_start.h',
51           'ipc_message_utils.cc',
52           'ipc_message_utils.h',
53           'ipc_param_traits.h',
54           'ipc_platform_file.cc',
55           'ipc_platform_file.h',
56           'ipc_platform_file_attachment_posix.cc',
57           'ipc_platform_file_attachment_posix.h',
58           'ipc_sender.h',
59           'ipc_switches.cc',
60           'ipc_switches.h',
61           'ipc_sync_channel.cc',
62           'ipc_sync_channel.h',
63           'ipc_sync_message.cc',
64           'ipc_sync_message.h',
65           'ipc_sync_message_filter.cc',
66           'ipc_sync_message_filter.h',
67           'message_filter.cc',
68           'message_filter.h',
69           'message_filter_router.cc',
70           'message_filter_router.h',
71           'param_traits_log_macros.h',
72           'param_traits_macros.h',
73           'param_traits_read_macros.h',
74           'param_traits_write_macros.h',
75           'struct_constructor_macros.h',
76           'struct_destructor_macros.h',
77           'unix_domain_socket_util.cc',
78           'unix_domain_socket_util.h',
79         ],
80         'defines': [
81           'IPC_IMPLEMENTATION',
82         ],
83         'include_dirs': [
84           '..',
85         ],
86         'target_conditions': [
87           ['>(nacl_untrusted_build)==1', {
88             'sources!': [
89               'ipc_channel.cc',
90               'ipc_channel_posix.cc',
91               'unix_domain_socket_util.cc',
92             ],
93           }],
94           ['OS == "win" or OS == "ios"', {
95             'sources!': [
96               'unix_domain_socket_util.cc',
97             ],
98           }],
99         ],
100       }],
101     ],
102   },