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