Update ASAn/Android runtime and enable stack overflow detection.
[chromium-blink-merge.git] / mojo / mojo_services.gypi
blob07a9a67ddcbde578e329b9aff4ea72b3326f92ea
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     },
17     {
18       'target_name': 'mojo_gles2_service',
19       'type': 'static_library',
20       'dependencies': [
21         '../base/base.gyp:base',
22         '../gpu/gpu.gyp:command_buffer_service',
23         '../ui/gfx/gfx.gyp:gfx',
24         '../ui/gfx/gfx.gyp:gfx_geometry',
25         '../ui/gl/gl.gyp:gl',
26         'mojo_gles2_bindings',
27       ],
28       'export_dependent_settings': [
29         'mojo_gles2_bindings',
30       ],
31       'sources': [
32         'services/gles2/command_buffer_impl.cc',
33         'services/gles2/command_buffer_impl.h',
34       ],
35     },
36     {
37       'target_name': 'mojo_native_viewport_bindings',
38       'type': 'static_library',
39       'sources': [
40         'services/native_viewport/native_viewport.mojom',
41       ],
42       'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
43       'export_dependent_settings': [
44         'mojo_bindings',
45         'mojo_system',
46       ],
47     },
48     {
49       'target_name': 'mojo_native_viewport_service',
50       'type': '<(component)',
51       'dependencies': [
52         '../base/base.gyp:base',
53         '../ui/events/events.gyp:events',
54         '../ui/gfx/gfx.gyp:gfx',
55         '../ui/gfx/gfx.gyp:gfx_geometry',
56         'mojo_common_lib',
57         'mojo_environment_chromium',
58         'mojo_gles2_service',
59         'mojo_native_viewport_bindings',
60         'mojo_shell_bindings',
61       ],
62       'defines': [
63         'MOJO_NATIVE_VIEWPORT_IMPLEMENTATION',
64       ],
65       'sources': [
66         'services/native_viewport/geometry_conversions.h',
67         'services/native_viewport/native_viewport.h',
68         'services/native_viewport/native_viewport_android.cc',
69         'services/native_viewport/native_viewport_mac.mm',
70         'services/native_viewport/native_viewport_service.cc',
71         'services/native_viewport/native_viewport_service.h',
72         'services/native_viewport/native_viewport_stub.cc',
73         'services/native_viewport/native_viewport_win.cc',
74         'services/native_viewport/native_viewport_x11.cc',
75       ],
76       'conditions': [
77         ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', {
78           'sources!': [
79             'services/native_viewport/native_viewport_stub.cc',
80           ],
81         }],
82         ['OS=="android"', {
83           'dependencies': [
84             'mojo_jni_headers',
85           ],
86         }],
87       ],
88     },
89   ],