OneClickSigninBubbleView: Only show title if no error present.
[chromium-blink-merge.git] / mojo / mojo_services.gypi
blob9204dcb7ca4e3924532377a5658f9a08509deaa7
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/geometry_conversions.h',
66         'services/native_viewport/native_viewport.h',
67         'services/native_viewport/native_viewport_android.cc',
68         'services/native_viewport/native_viewport_mac.mm',
69         'services/native_viewport/native_viewport_service.cc',
70         'services/native_viewport/native_viewport_service.h',
71         'services/native_viewport/native_viewport_stub.cc',
72         'services/native_viewport/native_viewport_win.cc',
73         'services/native_viewport/native_viewport_x11.cc',
74       ],
75       'conditions': [
76         ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', {
77           'sources!': [
78             'services/native_viewport/native_viewport_stub.cc',
79           ],
80         }],
81         ['OS=="android"', {
82           'dependencies': [
83             'mojo_jni_headers',
84           ],
85         }],
86       ],
87     },
88   ],