Bluetooth: extend JavaScript Device object
[chromium-blink-merge.git] / mojo / mojo_services.gypi
blobe3c8bb5b4e308f40075e21ca785a3cd7e5e01974
2   'targets': [
3     {
4       'target_name': 'mojo_gles2_bindings',
5       'type': 'static_library',
6       'sources': [
7         'services/gles2/command_buffer.mojom',
8         'services/gles2/command_buffer_type_conversions.cc',
9         'services/gles2/command_buffer_type_conversions.h',
10       ],
11       'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
12       'export_dependent_settings': [
13         'mojo_bindings',
14         'mojo_system',
15       ],
16       'dependencies': [
17         'mojo_bindings',
18         'mojo_system',
19       ],
20     },
21     {
22       'target_name': 'mojo_gles2_service',
23       'type': 'static_library',
24       'dependencies': [
25         '../base/base.gyp:base',
26         '../gpu/gpu.gyp:command_buffer_service',
27         '../ui/gfx/gfx.gyp:gfx',
28         '../ui/gfx/gfx.gyp:gfx_geometry',
29         '../ui/gl/gl.gyp:gl',
30         'mojo_gles2_bindings',
31       ],
32       'export_dependent_settings': [
33         'mojo_gles2_bindings',
34       ],
35       'sources': [
36         'services/gles2/command_buffer_impl.cc',
37         'services/gles2/command_buffer_impl.h',
38       ],
39     },
40     {
41       'target_name': 'mojo_native_viewport_bindings',
42       'type': 'static_library',
43       'sources': [
44         'services/native_viewport/native_viewport.mojom',
45       ],
46       'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
47       'export_dependent_settings': [
48         'mojo_bindings',
49         'mojo_system',
50       ],
51       'dependencies': [
52         'mojo_bindings',
53         'mojo_system',
54       ],
55     },
56     {
57       'target_name': 'mojo_native_viewport_service',
58       'type': '<(component)',
59       'dependencies': [
60         '../base/base.gyp:base',
61         '../ui/events/events.gyp:events',
62         '../ui/gfx/gfx.gyp:gfx',
63         '../ui/gfx/gfx.gyp:gfx_geometry',
64         'mojo_common_lib',
65         'mojo_environment_chromium',
66         'mojo_gles2_service',
67         'mojo_native_viewport_bindings',
68         'mojo_shell_bindings',
69       ],
70       'defines': [
71         'MOJO_NATIVE_VIEWPORT_IMPLEMENTATION',
72       ],
73       'sources': [
74         'services/native_viewport/geometry_conversions.h',
75         'services/native_viewport/native_viewport.h',
76         'services/native_viewport/native_viewport_android.cc',
77         'services/native_viewport/native_viewport_mac.mm',
78         'services/native_viewport/native_viewport_service.cc',
79         'services/native_viewport/native_viewport_service.h',
80         'services/native_viewport/native_viewport_stub.cc',
81         'services/native_viewport/native_viewport_win.cc',
82         'services/native_viewport/native_viewport_x11.cc',
83       ],
84       'conditions': [
85         ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', {
86           'sources!': [
87             'services/native_viewport/native_viewport_stub.cc',
88           ],
89         }],
90         ['OS=="android"', {
91           'dependencies': [
92             'mojo_jni_headers',
93           ],
94         }],
95       ],
96     },
97   ],