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