Fix sandbox IPC shared memory leak.
[chromium-blink-merge.git] / mojo / mojo_services_public.gyp
blob9846586d8f0ab7f4dd9bc8594d5dc227c669d3bc
1 # Copyright 2014 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   'includes': [
7     'mojo_variables.gypi',
8   ],
9   'targets': [
10     {
11       'target_name': 'mojo_services_public',
12       'type': 'none',
13       'dependencies': [
14         'mojo_clipboard_bindings',
15         'mojo_content_handler_bindings',
16         'mojo_geometry_bindings',
17         'mojo_gpu_bindings',
18         'mojo_input_events_bindings',
19         'mojo_native_viewport_bindings',
20         'mojo_navigation_bindings',
21         'mojo_network_bindings',
22         'mojo_surface_id_bindings',
23         'mojo_surfaces_bindings',
24         'mojo_view_manager_bindings',
25         'mojo_view_manager_common',
26         'mojo_window_manager_bindings',
27       ],
28     },
29     {
30       # GN version: //mojo/services/clipboard/public/interfaces
31       'target_name': 'mojo_clipboard_bindings',
32       'type': 'static_library',
33       'sources': [
34         'services/clipboard/public/interfaces/clipboard.mojom',
35       ],
36       'includes': [ 'mojom_bindings_generator.gypi' ],
37       'dependencies': [
38         'mojo_public.gyp:mojo_cpp_bindings',
39       ],
40       'export_dependent_settings': [
41         'mojo_public.gyp:mojo_cpp_bindings',
42       ],
43     },
44     {
45       # GN version: //mojo/services/input_events/public/interfaces
46       'target_name': 'mojo_input_events_bindings',
47       'type': 'static_library',
48       'sources': [
49         'services/input_events/public/interfaces/input_event_constants.mojom',
50         'services/input_events/public/interfaces/input_events.mojom',
51         'services/input_events/public/interfaces/input_key_codes.mojom',
52       ],
53       'includes': [ 'mojom_bindings_generator.gypi' ],
54       'dependencies': [
55         'mojo_geometry_bindings',
56         'mojo_public.gyp:mojo_cpp_bindings',
57       ],
58       'export_dependent_settings': [
59         'mojo_geometry_bindings',
60         'mojo_public.gyp:mojo_cpp_bindings',
61       ],
62     },
63     {
64       # GN version: //mojo/services/geometry/public/interfaces
65       'target_name': 'mojo_geometry_bindings',
66       'type': 'static_library',
67       'sources': [
68         'services/geometry/public/interfaces/geometry.mojom',
69       ],
70       'includes': [ 'mojom_bindings_generator.gypi' ],
71       'dependencies': [
72         'mojo_public.gyp:mojo_cpp_bindings',
73       ],
74       'export_dependent_settings': [
75         'mojo_public.gyp:mojo_cpp_bindings',
76       ],
77     },
78     {
79       # GN version: //mojo/services/gpu/public/interfaces
80       'target_name': 'mojo_gpu_bindings',
81       'type': 'static_library',
82       'sources': [
83         'services/gpu/public/interfaces/command_buffer.mojom',
84         'services/gpu/public/interfaces/gpu.mojom',
85         'services/gpu/public/interfaces/gpu_capabilities.mojom',
86         'services/gpu/public/interfaces/viewport_parameter_listener.mojom',
87       ],
88       'includes': [ 'mojom_bindings_generator.gypi' ],
89       'dependencies': [
90         'mojo_geometry_bindings',
91         'mojo_public.gyp:mojo_cpp_bindings',
92       ],
93       'export_dependent_settings': [
94         'mojo_geometry_bindings',
95         'mojo_public.gyp:mojo_cpp_bindings',
96       ],
97     },
98     {
99       # GN version: //mojo/services/native_viewport/public/interfaces
100       'target_name': 'mojo_native_viewport_bindings',
101       'type': 'static_library',
102       'sources': [
103         'services/native_viewport/public/interfaces/native_viewport.mojom',
104       ],
105       'includes': [ 'mojom_bindings_generator.gypi' ],
106       'dependencies': [
107         'mojo_geometry_bindings',
108         'mojo_gpu_bindings',
109         'mojo_input_events_bindings',
110         'mojo_public.gyp:mojo_cpp_bindings',
111         'mojo_surface_id_bindings',
112       ],
113       'export_dependent_settings': [
114         'mojo_geometry_bindings',
115         'mojo_gpu_bindings',
116         'mojo_input_events_bindings',
117         'mojo_public.gyp:mojo_cpp_bindings',
118         'mojo_surface_id_bindings',
119       ],
120     },
121     {
122       # GN version: //mojo/services/navigation/public/interfaces
123       'target_name': 'mojo_navigation_bindings',
124       'type': 'static_library',
125       'sources': [
126         'services/navigation/public/interfaces/navigation.mojom',
127       ],
128       'includes': [ 'mojom_bindings_generator.gypi' ],
129       'export_dependent_settings': [
130         'mojo_public.gyp:mojo_cpp_bindings',
131       ],
132       'dependencies': [
133         'mojo_network_bindings',
134         'mojo_public.gyp:mojo_cpp_bindings',
135       ],
136     },
137     {
138       # GN version: //mojo/services/content_handler/public/interfaces
139       'target_name': 'mojo_content_handler_bindings',
140       'type': 'static_library',
141       'sources': [
142         'services/content_handler/public/interfaces/content_handler.mojom',
143       ],
144       'includes': [ 'mojom_bindings_generator.gypi' ],
145       'export_dependent_settings': [
146         'mojo_public.gyp:mojo_cpp_bindings',
147       ],
148       'dependencies': [
149         'mojo_network_bindings',
150         'mojo_public.gyp:mojo_application_bindings',
151         'mojo_public.gyp:mojo_cpp_bindings',
152       ],
153     },
154     {
155       # GN version: //mojo/services/network/public/interfaces
156       'target_name': 'mojo_network_bindings',
157       'type': 'static_library',
158       'sources': [
159         'services/network/public/interfaces/cookie_store.mojom',
160         'services/network/public/interfaces/net_address.mojom',
161         'services/network/public/interfaces/network_error.mojom',
162         'services/network/public/interfaces/network_service.mojom',
163         'services/network/public/interfaces/tcp_bound_socket.mojom',
164         'services/network/public/interfaces/tcp_connected_socket.mojom',
165         'services/network/public/interfaces/tcp_server_socket.mojom',
166         'services/network/public/interfaces/udp_socket.mojom',
167         'services/network/public/interfaces/url_loader.mojom',
168         'services/network/public/interfaces/web_socket.mojom',
169       ],
170       'includes': [ 'mojom_bindings_generator.gypi' ],
171       'export_dependent_settings': [
172         'mojo_public.gyp:mojo_cpp_bindings',
173       ],
174       'dependencies': [
175         'mojo_public.gyp:mojo_cpp_bindings',
176       ],
177     },
178     {
179       # GN version: //mojo/services/view_manager/public/cpp:common
180       'target_name': 'mojo_view_manager_common',
181       'type': 'static_library',
182       'sources': [
183         'services/view_manager/public/cpp/types.h',
184       ],
185     },
186     {
187       # GN version: //mojo/services/view_manager/public/interfaces/
188       'target_name': 'mojo_view_manager_bindings',
189       'type': 'static_library',
190       'sources': [
191         'services/view_manager/public/interfaces/view_manager.mojom',
192         'services/view_manager/public/interfaces/view_manager_constants.mojom',
193       ],
194       'includes': [ 'mojom_bindings_generator.gypi' ],
195       'dependencies': [
196         'mojo_geometry_bindings',
197         'mojo_input_events_bindings',
198         'mojo_public.gyp:mojo_application_bindings',
199         'mojo_public.gyp:mojo_cpp_bindings',
200         'mojo_surface_id_bindings',
201       ],
202       'export_dependent_settings': [
203         'mojo_geometry_bindings',
204         'mojo_input_events_bindings',
205         'mojo_public.gyp:mojo_application_bindings',
206         'mojo_public.gyp:mojo_cpp_bindings',
207         'mojo_surface_id_bindings',
208       ],
209     },
210     {
211       # GN version: //mojo/services/surfaces/public/interfaces
212       'target_name': 'mojo_surfaces_bindings',
213       'type': 'static_library',
214       'sources': [
215         'services/surfaces/public/interfaces/surfaces.mojom',
216         'services/surfaces/public/interfaces/surfaces_service.mojom',
217         'services/surfaces/public/interfaces/quads.mojom',
218       ],
219       'includes': [ 'mojom_bindings_generator.gypi' ],
220       'dependencies': [
221         'mojo_geometry_bindings',
222         'mojo_gpu_bindings',
223         'mojo_public.gyp:mojo_cpp_bindings',
224         'mojo_surface_id_bindings',
225       ],
226       'export_dependent_settings': [
227         'mojo_geometry_bindings',
228         'mojo_public.gyp:mojo_cpp_bindings',
229         'mojo_surface_id_bindings',
230       ],
231     },
232     {
233       # GN version: //mojo/services/surfaces/public/interfaces:surface_id
234       'target_name': 'mojo_surface_id_bindings',
235       'type': 'static_library',
236       'sources': [
237         'services/surfaces/public/interfaces/surface_id.mojom',
238       ],
239       'includes': [ 'mojom_bindings_generator.gypi' ],
240       'dependencies': [
241         'mojo_public.gyp:mojo_cpp_bindings',
242       ],
243       'export_dependent_settings': [
244         'mojo_public.gyp:mojo_cpp_bindings',
245       ],
246     },
247     {
248       # GN version: //mojo/services/window_manager/public/interfaces
249       'target_name': 'mojo_window_manager_bindings',
250       'type': 'static_library',
251       'sources': [
252         'services/window_manager/public/interfaces/window_manager.mojom',
253       ],
254       'includes': [ 'mojom_bindings_generator.gypi' ],
255       'dependencies': [
256         'mojo_input_events_bindings',
257         'mojo_public.gyp:mojo_application_bindings',
258         'mojo_public.gyp:mojo_cpp_bindings',
259       ],
260       'export_dependent_settings': [
261         'mojo_input_events_bindings',
262         'mojo_public.gyp:mojo_application_bindings',
263         'mojo_public.gyp:mojo_cpp_bindings',
264       ],
265     },
266   ],