Allow only one bookmark to be added for multiple fast starring
[chromium-blink-merge.git] / ipc / ipc.gypi
blob0ded80073fe832a8af5d7d55afad77c229e666c5
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           'ipc_channel.cc',
30           'ipc_channel.h',
31           'ipc_channel_factory.cc',
32           'ipc_channel_factory.h',
33           'ipc_channel_common.cc',
34           'ipc_channel_handle.h',
35           'ipc_channel_nacl.cc',
36           'ipc_channel_nacl.h',
37           'ipc_channel_posix.cc',
38           'ipc_channel_posix.h',
39           'ipc_channel_proxy.cc',
40           'ipc_channel_proxy.h',
41           'ipc_channel_reader.cc',
42           'ipc_channel_reader.h',
43           'ipc_channel_win.cc',
44           'ipc_channel_win.h',
45           'ipc_descriptors.h',
46           'ipc_export.h',
47           'ipc_handle_win.cc',
48           'ipc_handle_win.h',
49           'ipc_listener.h',
50           'ipc_logging.cc',
51           'ipc_logging.h',
52           'ipc_message.cc',
53           'ipc_message.h',
54           'ipc_message_attachment.cc',
55           'ipc_message_attachment.h',
56           'ipc_message_attachment_set.cc',
57           'ipc_message_attachment_set.h',
58           'ipc_message_generator.cc',
59           'ipc_message_generator.h',
60           'ipc_message_macros.h',
61           'ipc_message_start.h',
62           'ipc_message_utils.cc',
63           'ipc_message_utils.h',
64           'ipc_param_traits.h',
65           'ipc_platform_file.cc',
66           'ipc_platform_file.h',
67           'ipc_platform_file_attachment_posix.cc',
68           'ipc_platform_file_attachment_posix.h',
69           'ipc_sender.h',
70           'ipc_switches.cc',
71           'ipc_switches.h',
72           'ipc_sync_channel.cc',
73           'ipc_sync_channel.h',
74           'ipc_sync_message.cc',
75           'ipc_sync_message.h',
76           'ipc_sync_message_filter.cc',
77           'ipc_sync_message_filter.h',
78           'message_filter.cc',
79           'message_filter.h',
80           'message_filter_router.cc',
81           'message_filter_router.h',
82           'param_traits_log_macros.h',
83           'param_traits_macros.h',
84           'param_traits_read_macros.h',
85           'param_traits_write_macros.h',
86           'struct_constructor_macros.h',
87           'struct_destructor_macros.h',
88           'unix_domain_socket_util.cc',
89           'unix_domain_socket_util.h',
90         ],
91         'defines': [
92           'IPC_IMPLEMENTATION',
93         ],
94         'include_dirs': [
95           '..',
96         ],
97         'target_conditions': [
98           ['>(nacl_untrusted_build)==1', {
99             'sources!': [
100               'ipc_channel.cc',
101               'ipc_channel_posix.cc',
102               'unix_domain_socket_util.cc',
103             ],
104           }],
105           ['OS == "win" or OS == "ios"', {
106             'sources!': [
107               'unix_domain_socket_util.cc',
108             ],
109           }],
110         ],
111       }],
112     ],
113   },