Remove implicit conversions from scoped_refptr to T* in media/
[chromium-blink-merge.git] / mojo / mojo_services.gypi
blob93e8d29a52c8e0dd05ecc3ef03d8d3dbcbd4277e
1 # Copyright (c) 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   'targets': [
7     {
8       'target_name': 'mojo_html_viewer',
9       'type': 'loadable_module',
10       'dependencies': [
11         '../net/net.gyp:net',
12         '../skia/skia.gyp:skia',
13         '../third_party/WebKit/public/blink.gyp:blink',
14         '../ui/native_theme/native_theme.gyp:native_theme',
15         '../url/url.gyp:url_lib',
16         'mojo_base.gyp:mojo_common_lib',
17         'mojo_base.gyp:mojo_cpp_bindings',
18         'mojo_base.gyp:mojo_utility',
19         'mojo_base.gyp:mojo_application_chromium',
20         'mojo_navigation_bindings',
21         'mojo_network_bindings',
22         'mojo_launcher_bindings',
23         'mojo_view_manager_lib',
24         '<(mojo_system_for_loadable_module)',
25       ],
26       'include_dirs': [
27         'third_party/WebKit'
28       ],
29       'sources': [
30         'services/html_viewer/blink_input_events_type_converters.cc',
31         'services/html_viewer/blink_input_events_type_converters.h',
32         'services/html_viewer/blink_platform_impl.cc',
33         'services/html_viewer/blink_platform_impl.h',
34         'services/html_viewer/blink_url_request_type_converters.cc',
35         'services/html_viewer/blink_url_request_type_converters.h',
36         'services/html_viewer/html_viewer.cc',
37         'services/html_viewer/html_document_view.cc',
38         'services/html_viewer/html_document_view.h',
39         'services/html_viewer/webcookiejar_impl.cc',
40         'services/html_viewer/webcookiejar_impl.h',
41         'services/html_viewer/webmimeregistry_impl.cc',
42         'services/html_viewer/webmimeregistry_impl.h',
43         'services/html_viewer/webstoragenamespace_impl.cc',
44         'services/html_viewer/webstoragenamespace_impl.h',
45         'services/html_viewer/webthemeengine_impl.cc',
46         'services/html_viewer/webthemeengine_impl.h',
47         'services/html_viewer/webthread_impl.cc',
48         'services/html_viewer/webthread_impl.h',
49         'services/html_viewer/weburlloader_impl.cc',
50         'services/html_viewer/weburlloader_impl.h',
51       ],
52     },
53     {
54       # GN version: //mojo/services/public/cpp/input_events
55       'target_name': 'mojo_input_events_lib',
56       'type': '<(component)',
57       'defines': [
58         'MOJO_INPUT_EVENTS_IMPLEMENTATION',
59       ],
60       'dependencies': [
61         '../base/base.gyp:base',
62         '../ui/events/events.gyp:events',
63         '../ui/gfx/gfx.gyp:gfx_geometry',
64         'mojo_base.gyp:mojo_environment_chromium',
65         'mojo_input_events_bindings',
66         'mojo_geometry_bindings',
67         'mojo_geometry_lib',
68         '<(mojo_system_for_component)',
69       ],
70       'sources': [
71         'services/public/cpp/input_events/lib/input_events_type_converters.cc',
72         'services/public/cpp/input_events/input_events_type_converters.h',
73         'services/public/cpp/input_events/mojo_input_events_export.h',
74       ],
75     },
76     {
77       # GN version: //mojo/services/public/interfaces/input_events
78       'target_name': 'mojo_input_events_bindings',
79       'type': 'static_library',
80       'sources': [
81         'services/public/interfaces/input_events/input_event_constants.mojom',
82         'services/public/interfaces/input_events/input_events.mojom',
83         'services/public/interfaces/input_events/input_key_codes.mojom',
84       ],
85       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
86       'dependencies': [
87         'mojo_base.gyp:mojo_cpp_bindings',
88         'mojo_geometry_bindings',
89       ],
90       'export_dependent_settings': [
91         'mojo_base.gyp:mojo_cpp_bindings',
92         'mojo_geometry_bindings',
93       ],
94     },
95     {
96       # GN version: //mojo/services/public/interfaces/geometry
97       'target_name': 'mojo_geometry_bindings',
98       'type': 'static_library',
99       'sources': [
100         'services/public/interfaces/geometry/geometry.mojom',
101       ],
102       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
103       'dependencies': [
104         'mojo_base.gyp:mojo_cpp_bindings',
105       ],
106       'export_dependent_settings': [
107         'mojo_base.gyp:mojo_cpp_bindings',
108       ],
109     },
110     {
111       # GN version: //mojo/services/public/cpp/geometry
112       'target_name': 'mojo_geometry_lib',
113       'type': '<(component)',
114       'defines': [
115         'MOJO_GEOMETRY_IMPLEMENTATION',
116       ],
117       'dependencies': [
118         '../skia/skia.gyp:skia',
119         '../ui/gfx/gfx.gyp:gfx',
120         '../ui/gfx/gfx.gyp:gfx_geometry',
121         'mojo_base.gyp:mojo_environment_chromium',
122         'mojo_geometry_bindings',
123         '<(mojo_system_for_component)',
124       ],
125       'export_dependent_settings': [
126         '../ui/gfx/gfx.gyp:gfx',
127       ],
128       'sources': [
129         'services/public/cpp/geometry/lib/geometry_type_converters.cc',
130         'services/public/cpp/geometry/geometry_type_converters.h',
131         'services/public/cpp/geometry/mojo_geometry_export.h',
132       ],
133     },
134     {
135       # GN version: //mojo/services/public/cpp/geometry
136       'target_name': 'mojo_surfaces_lib',
137       'type': '<(component)',
138       'defines': [
139         'MOJO_SURFACES_IMPLEMENTATION',
140       ],
141       'dependencies': [
142         '../base/base.gyp:base',
143         '../cc/cc.gyp:cc',
144         '../cc/cc.gyp:cc_surfaces',
145         '../gpu/gpu.gyp:gpu',
146         '../ui/gfx/gfx.gyp:gfx',
147         '../ui/gfx/gfx.gyp:gfx_geometry',
148         'mojo_base.gyp:mojo_environment_chromium',
149         'mojo_geometry_lib',
150         'mojo_surfaces_bindings',
151         '<(mojo_system_for_component)',
152       ],
153       'export_dependent_settings': [
154         'mojo_geometry_lib',
155         'mojo_surfaces_bindings',
156       ],
157       'sources': [
158         'services/public/cpp/surfaces/lib/surfaces_type_converters.cc',
159         'services/public/cpp/surfaces/surfaces_type_converters.h',
160         'services/public/cpp/surfaces/mojo_surfaces_export.h',
161       ],
162     },
163     {
164       # GN version: //mojo/services/public/cpp/surfaces/tests
165       'target_name': 'mojo_surfaces_lib_unittests',
166       'type': 'executable',
167       'dependencies': [
168         '../base/base.gyp:base',
169         '../base/base.gyp:test_support_base',
170         '../cc/cc.gyp:cc',
171         '../cc/cc.gyp:cc_surfaces',
172         '../gpu/gpu.gyp:gpu',
173         '../skia/skia.gyp:skia',
174         '../testing/gtest.gyp:gtest',
175         '../ui/gfx/gfx.gyp:gfx',
176         '../ui/gfx/gfx.gyp:gfx_geometry',
177         '../ui/gfx/gfx.gyp:gfx_test_support',
178         'mojo_base.gyp:mojo_environment_chromium',
179         'mojo_base.gyp:mojo_run_all_unittests',
180         'mojo_geometry_lib',
181         'mojo_surfaces_bindings',
182         'mojo_surfaces_lib',
183       ],
184       'sources': [
185         'services/public/cpp/surfaces/tests/surface_unittest.cc',
186       ],
187     },
188     {
189       # GN version: //mojo/services/gles2
190       'target_name': 'mojo_gles2_service',
191       'type': 'static_library',
192       'dependencies': [
193         '../base/base.gyp:base',
194         '../gpu/gpu.gyp:command_buffer_service',
195         '../ui/gfx/gfx.gyp:gfx',
196         '../ui/gfx/gfx.gyp:gfx_geometry',
197         '../ui/gl/gl.gyp:gl',
198         'mojo_base.gyp:mojo_gles2_bindings',
199       ],
200       'export_dependent_settings': [
201         'mojo_base.gyp:mojo_gles2_bindings',
202       ],
203       'sources': [
204         'services/gles2/command_buffer_impl.cc',
205         'services/gles2/command_buffer_impl.h',
206       ],
207     },
208     {
209       # GN version: //mojo/services/public/interfaces/gpu
210       'target_name': 'mojo_gpu_bindings',
211       'type': 'static_library',
212       'sources': [
213         'services/public/interfaces/gpu/gpu.mojom',
214       ],
215       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
216       'dependencies': [
217         'mojo_base.gyp:mojo_cpp_bindings',
218         'mojo_base.gyp:mojo_gles2_bindings',
219         'mojo_geometry_bindings',
220       ],
221       'export_dependent_settings': [
222         'mojo_base.gyp:mojo_cpp_bindings',
223         'mojo_base.gyp:mojo_gles2_bindings',
224         'mojo_geometry_bindings',
225       ],
226     },
227     {
228       # GN version: //mojo/services/public/interfaces/native_viewport
229       'target_name': 'mojo_native_viewport_bindings',
230       'type': 'static_library',
231       'sources': [
232         'services/public/interfaces/native_viewport/native_viewport.mojom',
233       ],
234       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
235       'dependencies': [
236         'mojo_base.gyp:mojo_cpp_bindings',
237         'mojo_base.gyp:mojo_gles2_bindings',
238         'mojo_geometry_bindings',
239         'mojo_input_events_bindings',
240       ],
241       'export_dependent_settings': [
242         'mojo_base.gyp:mojo_cpp_bindings',
243         'mojo_base.gyp:mojo_gles2_bindings',
244         'mojo_geometry_bindings',
245         'mojo_input_events_bindings',
246       ],
247     },
248     {
249       # GN version: //mojo/services/native_viewport
250       'target_name': 'mojo_native_viewport_service_lib',
251       # This is linked directly into the embedder, so we make it a static_library.
252       # TODO(davemoore): Make this a true service.
253       'type': 'static_library',
254       'dependencies': [
255         '../base/base.gyp:base',
256         '../ui/events/events.gyp:events',
257         '../ui/gfx/gfx.gyp:gfx',
258         '../ui/gfx/gfx.gyp:gfx_geometry',
259         'mojo_base.gyp:mojo_application_chromium',
260         'mojo_base.gyp:mojo_common_lib',
261         'mojo_geometry_bindings',
262         'mojo_geometry_lib',
263         'mojo_gles2_service',
264         'mojo_gpu_bindings',
265         'mojo_input_events_lib',
266         'mojo_native_viewport_bindings',
267       ],
268       'export_dependent_settings': [
269         'mojo_geometry_bindings',
270         'mojo_gpu_bindings',
271         'mojo_native_viewport_bindings',
272       ],
273       'sources': [
274         'services/native_viewport/gpu_impl.cc',
275         'services/native_viewport/gpu_impl.h',
276         'services/native_viewport/native_viewport_impl.cc',
277         'services/native_viewport/native_viewport_impl.h',
278         'services/native_viewport/platform_viewport.h',
279         'services/native_viewport/platform_viewport_android.cc',
280         'services/native_viewport/platform_viewport_mac.mm',
281         'services/native_viewport/platform_viewport_ozone.cc',
282         'services/native_viewport/platform_viewport_stub.cc',
283         'services/native_viewport/platform_viewport_win.cc',
284         'services/native_viewport/platform_viewport_x11.cc',
285       ],
286       'conditions': [
287         ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', {
288           'sources!': [
289             'services/native_viewport/platform_viewport_stub.cc',
290           ],
291         }],
292         ['OS=="android"', {
293           'dependencies': [
294             'mojo_base.gyp:mojo_jni_headers',
295           ],
296         }],
297         ['OS=="win"', {
298           'dependencies': [
299             '../ui/platform_window/win/win_window.gyp:win_window',
300           ],
301         }],
302         ['use_x11==1', {
303           'dependencies': [
304             '../ui/platform_window/x11/x11_window.gyp:x11_window',
305             '../ui/events/platform/x11/x11_events_platform.gyp:x11_events_platform',
306           ],
307         }],
308         ['use_ozone==1', {
309           'dependencies': [
310             '../ui/ozone/ozone.gyp:ozone',
311           ],
312         }],
313       ],
314     },
315     {
316       # GN version: //mojo/services/public/interfaces/navigation
317       'target_name': 'mojo_navigation_bindings',
318       'type': 'static_library',
319       'sources': [
320         'services/public/interfaces/navigation/navigation.mojom',
321       ],
322       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
323       'export_dependent_settings': [
324         'mojo_base.gyp:mojo_cpp_bindings',
325       ],
326       'dependencies': [
327         'mojo_base.gyp:mojo_cpp_bindings',
328         'mojo_network_bindings',
329       ],
330     },
331     {
332       # GN version: //mojo/services/public/interfaces/content_handler
333       'target_name': 'mojo_content_handler_bindings',
334       'type': 'static_library',
335       'sources': [
336         'services/public/interfaces/content_handler/content_handler.mojom',
337       ],
338       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
339       'export_dependent_settings': [
340         'mojo_base.gyp:mojo_cpp_bindings',
341       ],
342       'dependencies': [
343         'mojo_base.gyp:mojo_application_bindings',
344         'mojo_base.gyp:mojo_cpp_bindings',
345         'mojo_network_bindings',
346       ],
347     },
348     {
349       # GN version: //mojo/services/public/interfaces/network
350       'target_name': 'mojo_network_bindings',
351       'type': 'static_library',
352       'sources': [
353         'services/public/interfaces/network/cookie_store.mojom',
354         'services/public/interfaces/network/network_error.mojom',
355         'services/public/interfaces/network/network_service.mojom',
356         'services/public/interfaces/network/url_loader.mojom',
357       ],
358       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
359       'export_dependent_settings': [
360         'mojo_base.gyp:mojo_cpp_bindings',
361       ],
362       'dependencies': [
363         'mojo_base.gyp:mojo_cpp_bindings',
364       ],
365     },
366     {
367       # GN version: //mojo/services/network
368       'target_name': 'mojo_network_service_lib',
369       'type': 'static_library',
370       'dependencies': [
371         '../base/base.gyp:base',
372         '../net/net.gyp:net',
373         '../url/url.gyp:url_lib',
374         'mojo_base.gyp:mojo_common_lib',
375         'mojo_base.gyp:mojo_application_chromium',
376         'mojo_network_bindings',
377       ],
378       'export_dependent_settings': [
379         'mojo_network_bindings',
380       ],
381       'sources': [
382         'services/network/cookie_store_impl.cc',
383         'services/network/cookie_store_impl.h',
384         'services/network/network_context.cc',
385         'services/network/network_context.h',
386         'services/network/network_service_impl.cc',
387         'services/network/network_service_impl.h',
388         'services/network/url_loader_impl.cc',
389         'services/network/url_loader_impl.h',
390       ],
391     },
392     {
393       'target_name': 'mojo_network_service',
394       'type': 'loadable_module',
395       'dependencies': [
396         'mojo_network_bindings',
397         'mojo_network_service_lib',
398         '<(mojo_system_for_loadable_module)',
399       ],
400       'export_dependent_settings': [
401         'mojo_network_bindings',
402       ],
403       'sources': [
404         'services/network/main.cc',
405       ],
406     },
407     {
408       # GN version: //mojo/services/surfaces
409       'target_name': 'mojo_surfaces_service',
410       'type': 'loadable_module',
411       'dependencies': [
412         '../base/base.gyp:base',
413         '../cc/cc.gyp:cc',
414         '../cc/cc.gyp:cc_surfaces',
415         '../ui/gfx/gfx.gyp:gfx_geometry',
416         'mojo_base.gyp:mojo_application_chromium',
417         'mojo_cc_support',
418         'mojo_geometry_bindings',
419         'mojo_geometry_lib',
420         'mojo_gpu_bindings',
421         'mojo_surfaces_bindings',
422         'mojo_surfaces_lib',
423         '<(mojo_gles2_for_loadable_module)',
424         '<(mojo_system_for_loadable_module)',
425       ],
426       'sources': [
427         'services/surfaces/surfaces_impl.cc',
428         'services/surfaces/surfaces_impl.h',
429         'services/surfaces/surfaces_service_application.cc',
430         'services/surfaces/surfaces_service_application.h',
431         'services/surfaces/surfaces_service_impl.cc',
432         'services/surfaces/surfaces_service_impl.h',
433       ],
434     },
435     {
436       # GN version: //mojo/services/public/cpp/view_manager:common
437       'target_name': 'mojo_view_manager_common',
438       'type': 'static_library',
439       'sources': [
440         'services/public/cpp/view_manager/types.h',
441       ],
442     },
443     {
444       # GN version: //mojo/services/public/interfaces/launcher
445       'target_name': 'mojo_launcher_bindings',
446       'type': 'static_library',
447       'sources': [
448         'services/public/interfaces/launcher/launcher.mojom',
449       ],
450       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
451       'export_dependent_settings': [
452         'mojo_base.gyp:mojo_cpp_bindings',
453       ],
454       'dependencies': [
455         'mojo_base.gyp:mojo_cpp_bindings',
456         'mojo_navigation_bindings',
457       ],
458     },
459     {
460       'target_name': 'mojo_launcher',
461       'type': 'loadable_module',
462       'dependencies': [
463         '../base/base.gyp:base',
464         '../url/url.gyp:url_lib',
465         'mojo_base.gyp:mojo_cpp_bindings',
466         'mojo_base.gyp:mojo_application_chromium',
467         'mojo_launcher_bindings',
468         'mojo_network_bindings',
469         '<(mojo_system_for_loadable_module)',
470       ],
471       'sources': [
472         'services/launcher/launcher.cc',
473       ],
474     },
475     {
476       # GN version: //mojo/services/public/interfaces/view_manager
477       'target_name': 'mojo_view_manager_bindings',
478       'type': 'static_library',
479       'sources': [
480         'services/public/interfaces/view_manager/view_manager.mojom',
481         'services/public/interfaces/view_manager/view_manager_constants.mojom',
482       ],
483       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
484       'dependencies': [
485         'mojo_base.gyp:mojo_application_bindings',
486         'mojo_base.gyp:mojo_cpp_bindings',
487         'mojo_geometry_bindings',
488         'mojo_input_events_bindings',
489       ],
490       'export_dependent_settings': [
491         'mojo_base.gyp:mojo_application_bindings',
492         'mojo_base.gyp:mojo_cpp_bindings',
493         'mojo_geometry_bindings',
494         'mojo_input_events_bindings',
495       ],
496     },
497     {
498       # GN version: //mojo/services/public/cpp/view_manager
499       'target_name': 'mojo_view_manager_lib',
500       'type': 'static_library',
501       'dependencies': [
502         '../base/base.gyp:base',
503         '../skia/skia.gyp:skia',
504         '../ui/events/events.gyp:events',
505         '../ui/gfx/gfx.gyp:gfx',
506         '../ui/gfx/gfx.gyp:gfx_geometry',
507         'mojo_base.gyp:mojo_application_chromium',
508         'mojo_base.gyp:mojo_application_bindings',
509         'mojo_core_window_manager_bindings',
510         'mojo_geometry_bindings',
511         'mojo_geometry_lib',
512         'mojo_view_manager_bindings',
513         'mojo_view_manager_common',
514       ],
515       'sources': [
516         'services/public/cpp/view_manager/lib/view.cc',
517         'services/public/cpp/view_manager/lib/view_manager_client_factory.cc',
518         'services/public/cpp/view_manager/lib/view_manager_client_impl.cc',
519         'services/public/cpp/view_manager/lib/view_manager_client_impl.h',
520         'services/public/cpp/view_manager/lib/view_observer.cc',
521         'services/public/cpp/view_manager/lib/view_private.cc',
522         'services/public/cpp/view_manager/lib/view_private.h',
523         'services/public/cpp/view_manager/view.h',
524         'services/public/cpp/view_manager/view_manager.h',
525         'services/public/cpp/view_manager/view_manager_client_factory.h',
526         'services/public/cpp/view_manager/view_manager_delegate.h',
527         'services/public/cpp/view_manager/view_observer.h',
528         'services/public/cpp/view_manager/window_manager_delegate.h',
529       ],
530       'export_dependent_settings': [
531         'mojo_view_manager_bindings',
532       ],
533     },
534     {
535       # GN version: //mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unittests
536       'target_name': 'mojo_view_manager_lib_unittests',
537       'type': 'executable',
538       'dependencies': [
539         '../base/base.gyp:base',
540         '../base/base.gyp:test_support_base',
541         '../testing/gtest.gyp:gtest',
542         '../ui/gfx/gfx.gyp:gfx',
543         '../ui/gfx/gfx.gyp:gfx_test_support',
544         'mojo_base.gyp:mojo_environment_chromium',
545         'mojo_geometry_bindings',
546         'mojo_geometry_lib',
547         'mojo_shell_test_support',
548         'mojo_view_manager_bindings',
549         'mojo_view_manager_lib',
550       ],
551       'sources': [
552         'services/public/cpp/view_manager/tests/view_unittest.cc',
553         'services/public/cpp/view_manager/tests/view_manager_unittest.cc',
554       ],
555       'conditions': [
556         ['use_aura==1', {
557           'dependencies': [
558             'mojo_view_manager_run_unittests'
559           ],
560         }, {  # use_aura==0
561           'dependencies': [
562             'mojo_base.gyp:mojo_run_all_unittests',
563           ],
564         }],
565       ],
566     },
567     {
568       # GN version: //mojo/services/public/interfaces/surfaces
569       'target_name': 'mojo_surfaces_bindings',
570       'type': 'static_library',
571       'sources': [
572         'services/public/interfaces/surfaces/surface_id.mojom',
573         'services/public/interfaces/surfaces/surfaces.mojom',
574         'services/public/interfaces/surfaces/surfaces_service.mojom',
575         'services/public/interfaces/surfaces/quads.mojom',
576       ],
577       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
578       'export_dependent_settings': [
579         'mojo_base.gyp:mojo_cpp_bindings',
580       ],
581       'dependencies': [
582         'mojo_base.gyp:mojo_cpp_bindings',
583         'mojo_geometry_bindings',
584         'mojo_native_viewport_bindings',
585       ],
586     },
587     {
588       # GN version: //mojo/services/test_service:bindings
589       'target_name': 'mojo_test_service_bindings',
590       'type': 'static_library',
591       'sources': [
592          # TODO(tim): Move to services/public/interfaces?
593         'services/test_service/test_request_tracker.mojom',
594         'services/test_service/test_service.mojom',
595       ],
596       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
597       'export_dependent_settings': [
598         'mojo_base.gyp:mojo_cpp_bindings',
599       ],
600       'dependencies': [
601         'mojo_base.gyp:mojo_cpp_bindings',
602       ],
603     },
604     {
605       # GN version: //mojo/services/test_service
606       'target_name': 'mojo_test_app',
607       'type': 'loadable_module',
608       'dependencies': [
609         '../base/base.gyp:base',
610         'mojo_base.gyp:mojo_utility',
611         'mojo_base.gyp:mojo_application_standalone',
612         'mojo_test_service_bindings',
613         '<(mojo_system_for_loadable_module)',
614       ],
615       'sources': [
616         'services/test_service/test_request_tracker_client_impl.cc',
617         'services/test_service/test_request_tracker_client_impl.h',
618         'services/test_service/test_service_application.cc',
619         'services/test_service/test_service_application.h',
620         'services/test_service/test_service_impl.cc',
621         'services/test_service/test_service_impl.h',
622         'services/test_service/test_time_service_impl.cc',
623         'services/test_service/test_time_service_impl.h',
624       ],
625     },
626     {
627       # GN version: //mojo/services/test_service:request_tracker
628       'target_name': 'mojo_test_request_tracker_app',
629       'type': 'loadable_module',
630       'dependencies': [
631         '../base/base.gyp:base',
632         'mojo_base.gyp:mojo_utility',
633         'mojo_base.gyp:mojo_application_standalone',
634         'mojo_test_service_bindings',
635         '<(mojo_system_for_loadable_module)',
636       ],
637       'sources': [
638         'services/test_service/test_request_tracker_client_impl.cc',
639         'services/test_service/test_request_tracker_client_impl.h',
640         'services/test_service/test_request_tracker_application.cc',
641         'services/test_service/test_request_tracker_application.h',
642         'services/test_service/test_time_service_impl.cc',
643         'services/test_service/test_time_service_impl.h',
644         'services/test_service/test_request_tracker_impl.cc',
645         'services/test_service/test_request_tracker_impl.h',
646       ],
647     },
648     {
649       # GN version: //mojo/services/public/interfaces/window_manager
650       'target_name': 'mojo_core_window_manager_bindings',
651       'type': 'static_library',
652       'sources': [
653         'services/public/interfaces/window_manager/window_manager.mojom',
654       ],
655       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
656       'export_dependent_settings': [
657         'mojo_base.gyp:mojo_cpp_bindings',
658       ],
659       'dependencies': [
660         'mojo_base.gyp:mojo_cpp_bindings',
661       ],
662     },
663   ],
664   'conditions': [
665     ['use_aura==1', {
666       'targets': [
667         {
668           # GN version: //mojo/services/view_manager
669           'target_name': 'mojo_view_manager',
670           'type': '<(component)',
671           'dependencies': [
672             '../base/base.gyp:base',
673             '../cc/cc.gyp:cc',
674             '../skia/skia.gyp:skia',
675             '../ui/aura/aura.gyp:aura',
676             '../ui/base/ui_base.gyp:ui_base',
677             '../ui/compositor/compositor.gyp:compositor',
678             '../ui/events/events.gyp:events',
679             '../ui/events/events.gyp:events_base',
680             '../ui/gfx/gfx.gyp:gfx',
681             '../ui/gfx/gfx.gyp:gfx_geometry',
682             '../ui/gl/gl.gyp:gl',
683             '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
684             'mojo_base.gyp:mojo_common_lib',
685             'mojo_base.gyp:mojo_application_chromium',
686             'mojo_cc_support',
687             'mojo_geometry_bindings',
688             'mojo_geometry_lib',
689             'mojo_input_events_bindings',
690             'mojo_input_events_lib',
691             'mojo_native_viewport_bindings',
692             'mojo_view_manager_bindings',
693             'mojo_view_manager_common',
694             'mojo_gpu_bindings',
695             '<(mojo_gles2_for_component)',
696             '<(mojo_system_for_component)',
697           ],
698           'sources': [
699             'services/view_manager/access_policy.h',
700             'services/view_manager/access_policy_delegate.h',
701             'services/view_manager/context_factory_impl.cc',
702             'services/view_manager/context_factory_impl.h',
703             'services/view_manager/default_access_policy.cc',
704             'services/view_manager/default_access_policy.h',
705             'services/view_manager/display_manager.cc',
706             'services/view_manager/display_manager.h',
707             'services/view_manager/display_manager_delegate.h',
708             'services/view_manager/ids.h',
709             'services/view_manager/main.cc',
710             'services/view_manager/node.cc',
711             'services/view_manager/node.h',
712             'services/view_manager/node_delegate.h',
713             'services/view_manager/root_node_manager.cc',
714             'services/view_manager/root_node_manager.h',
715             'services/view_manager/screen_impl.cc',
716             'services/view_manager/screen_impl.h',
717             'services/view_manager/view_manager_export.h',
718             'services/view_manager/view_manager_init_service_context.cc',
719             'services/view_manager/view_manager_init_service_context.h',
720             'services/view_manager/view_manager_init_service_impl.cc',
721             'services/view_manager/view_manager_init_service_impl.h',
722             'services/view_manager/view_manager_service_impl.cc',
723             'services/view_manager/view_manager_service_impl.h',
724             'services/view_manager/window_manager_access_policy.cc',
725             'services/view_manager/window_manager_access_policy.h',
726             'services/view_manager/window_tree_host_impl.cc',
727             'services/view_manager/window_tree_host_impl.h',
728           ],
729           'defines': [
730             'MOJO_VIEW_MANAGER_IMPLEMENTATION',
731           ],
732         },
733         {
734           # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittests
735           'target_name': 'mojo_view_manager_run_unittests',
736           'type': 'static_library',
737           'dependencies': [
738             '../base/base.gyp:base',
739             '../base/base.gyp:test_support_base',
740             '../ui/gl/gl.gyp:gl',
741           ],
742           'sources': [
743             'services/public/cpp/view_manager/lib/view_manager_test_suite.cc',
744             'services/public/cpp/view_manager/lib/view_manager_test_suite.h',
745             'services/public/cpp/view_manager/lib/view_manager_unittests.cc',
746           ],
747           'conditions': [
748             ['OS=="linux" or OS=="win"', {
749               'dependencies': [
750                 '../third_party/mesa/mesa.gyp:osmesa',
751                 'mojo_native_viewport_service_lib',
752               ],
753             }],
754             ['use_x11==1', {
755               'dependencies': [
756                 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
757               ],
758             }],
759           ],
760         },
761         {
762           # GN version: //mojo/services/view_manager:mojo_view_manager_unittests
763           'target_name': 'mojo_view_manager_unittests',
764           'type': 'executable',
765           'dependencies': [
766             '../base/base.gyp:base',
767             '../base/base.gyp:test_support_base',
768             '../skia/skia.gyp:skia',
769             '../testing/gtest.gyp:gtest',
770             '../ui/aura/aura.gyp:aura',
771             '../ui/gfx/gfx.gyp:gfx_geometry',
772             '../ui/gl/gl.gyp:gl',
773             'mojo_application_manager',
774             'mojo_base.gyp:mojo_system_impl',
775             'mojo_base.gyp:mojo_application_chromium',
776             'mojo_geometry_bindings',
777             'mojo_geometry_lib',
778             'mojo_input_events_bindings',
779             'mojo_input_events_lib',
780             'mojo_shell_test_support',
781             'mojo_view_manager_bindings',
782             'mojo_view_manager_common',
783             'mojo_view_manager_run_unittests',
784           ],
785           'sources': [
786             'services/view_manager/test_change_tracker.cc',
787             'services/view_manager/test_change_tracker.h',
788             'services/view_manager/view_manager_unittest.cc',
789           ],
790         },
791         {
792           'target_name': 'package_mojo_view_manager',
793           'variables': {
794             'app_name': 'mojo_view_manager',
795           },
796           'includes': [ 'build/package_app.gypi' ],
797         },
798         {
799           # GN version: //mojo/services/window_manager:lib
800           'target_name': 'mojo_core_window_manager_lib',
801           'type': 'static_library',
802           'dependencies': [
803             '../base/base.gyp:base',
804             '../ui/base/ui_base.gyp:ui_base',
805             '../ui/gfx/gfx.gyp:gfx',
806             '../ui/gfx/gfx.gyp:gfx_geometry',
807             '../ui/wm/wm.gyp:wm',
808             'mojo_base.gyp:mojo_common_lib',
809             'mojo_base.gyp:mojo_application_chromium',
810             'mojo_aura_support',
811             'mojo_core_window_manager_bindings',
812             'mojo_input_events_lib',
813             'mojo_view_manager_lib',
814           ],
815           'sources': [
816             'services/window_manager/window_manager_app.cc',
817             'services/window_manager/window_manager_app.h',
818             'services/window_manager/window_manager_service_impl.cc',
819             'services/window_manager/window_manager_service_impl.h',
820           ],
821         },
822         {
823           # GN version: //mojo/services/window_manager
824           'target_name': 'mojo_core_window_manager',
825           'type': 'loadable_module',
826           'dependencies': [
827             'mojo_core_window_manager_lib',
828             '<(mojo_system_for_loadable_module)',
829           ],
830           'sources': [
831             'services/window_manager/main.cc',
832           ],
833         },
834         {
835           # GN version: //mojo/services/window_manager:mojo_core_window_manager_unittests
836           'target_name': 'mojo_core_window_manager_unittests',
837           'type': 'executable',
838           'dependencies': [
839             '../base/base.gyp:test_support_base',
840             '../testing/gtest.gyp:gtest',
841             '../ui/gl/gl.gyp:gl',
842             'mojo_application_manager',
843             'mojo_base.gyp:mojo_system_impl',
844             'mojo_base.gyp:mojo_environment_chromium',
845             'mojo_core_window_manager_bindings',
846             'mojo_shell_test_support',
847             'mojo_view_manager_bindings',
848             'mojo_view_manager_lib',
849           ],
850           'sources': [
851             'services/window_manager/window_manager_api_unittest.cc',
852             'services/window_manager/window_manager_unittests.cc',
853           ],
854           'conditions': [
855             ['OS=="linux"', {
856               'dependencies': [
857                 '../third_party/mesa/mesa.gyp:osmesa',
858                 'mojo_native_viewport_service_lib',
859               ],
860             }],
861             ['use_x11==1', {
862               'dependencies': [
863                 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
864               ],
865             }],
866           ],
867         },
868       ],
869     }],
870   ],