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