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