ToolbarOriginChipView is dead; remove the suppression for it.
[chromium-blink-merge.git] / mojo / mojo_services.gypi
blob934232d195cd7d472d01d81f1af4937bc62b8a0f
2   'targets': [
3     {
4       'target_name': 'mojo_echo_bindings',
5       'type': 'static_library',
6       'sources': [
7         'services/dbus_echo/echo.mojom',
8       ],
9       'variables': {
10         'mojom_base_output_dir': 'mojo',
11       },
12       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
13       'export_dependent_settings': [
14         'mojo_cpp_bindings',
15       ],
16       'dependencies': [
17         'mojo_cpp_bindings',
18       ],
19     },
20     {
21       'target_name': 'mojo_gles2_bindings',
22       'type': 'static_library',
23       'sources': [
24         'services/gles2/command_buffer.mojom',
25         'services/gles2/command_buffer_type_conversions.cc',
26         'services/gles2/command_buffer_type_conversions.h',
27         'services/gles2/mojo_buffer_backing.cc',
28         'services/gles2/mojo_buffer_backing.h',
29       ],
30       'variables': {
31         'mojom_base_output_dir': 'mojo',
32       },
33       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
34       'export_dependent_settings': [
35         'mojo_cpp_bindings',
36       ],
37       'dependencies': [
38         '../gpu/gpu.gyp:command_buffer_common',
39         'mojo_cpp_bindings',
40       ],
41     },
42     {
43       'target_name': 'mojo_gles2_service',
44       'type': 'static_library',
45       'dependencies': [
46         '../base/base.gyp:base',
47         '../gpu/gpu.gyp:command_buffer_service',
48         '../ui/gfx/gfx.gyp:gfx',
49         '../ui/gfx/gfx.gyp:gfx_geometry',
50         '../ui/gl/gl.gyp:gl',
51         'mojo_gles2_bindings',
52       ],
53       'export_dependent_settings': [
54         'mojo_gles2_bindings',
55       ],
56       'sources': [
57         'services/gles2/command_buffer_impl.cc',
58         'services/gles2/command_buffer_impl.h',
59       ],
60     },
61     {
62       'target_name': 'mojo_native_viewport_bindings',
63       'type': 'static_library',
64       'sources': [
65         'services/native_viewport/native_viewport.mojom',
66       ],
67       'variables': {
68         'mojom_base_output_dir': 'mojo',
69       },
70       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
71       'export_dependent_settings': [
72         'mojo_cpp_bindings',
73       ],
74       'dependencies': [
75         'mojo_geometry_bindings',
76         'mojo_cpp_bindings',
77       ],
78     },
79     {
80       'target_name': 'mojo_native_viewport_service',
81       # This is linked directly into the embedder, so we make it a component.
82       'type': '<(component)',
83       'dependencies': [
84         '../base/base.gyp:base',
85         '../ui/events/events.gyp:events',
86         '../ui/gfx/gfx.gyp:gfx',
87         '../ui/gfx/gfx.gyp:gfx_geometry',
88         'mojo_common_lib',
89         'mojo_environment_chromium',
90         'mojo_geometry_bindings',
91         'mojo_geometry_lib',
92         'mojo_gles2_service',
93         'mojo_native_viewport_bindings',
94         'mojo_shell_client',
95         'mojo_system_impl',
96       ],
97       'defines': [
98         'MOJO_NATIVE_VIEWPORT_IMPLEMENTATION',
99       ],
100       'sources': [
101         'services/native_viewport/native_viewport.h',
102         'services/native_viewport/native_viewport_android.cc',
103         'services/native_viewport/native_viewport_mac.mm',
104         'services/native_viewport/native_viewport_service.cc',
105         'services/native_viewport/native_viewport_service.h',
106         'services/native_viewport/native_viewport_stub.cc',
107         'services/native_viewport/native_viewport_win.cc',
108         'services/native_viewport/native_viewport_x11.cc',
109       ],
110       'conditions': [
111         ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', {
112           'sources!': [
113             'services/native_viewport/native_viewport_stub.cc',
114           ],
115         }],
116         ['OS=="android"', {
117           'dependencies': [
118             'mojo_jni_headers',
119           ],
120         }],
121       ],
122     },
123     {
124       'target_name': 'mojo_view_manager_common',
125       'type': 'static_library',
126       'sources': [
127         'services/public/cpp/view_manager/view_manager_types.h',
128       ],
129     },
130     {
131       'target_name': 'mojo_view_manager_bindings',
132       'type': 'static_library',
133       'sources': [
134         'services/public/interfaces/view_manager/view_manager.mojom',
135       ],
136       'variables': {
137         'mojom_base_output_dir': 'mojo',
138       },
139       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
140       'export_dependent_settings': [
141         'mojo_cpp_bindings',
142       ],
143       'dependencies': [
144         'mojo_cpp_bindings',
145         'mojo_geometry_bindings',
146       ],
147     },
148     {
149       'target_name': 'mojo_view_manager_lib',
150       'type': 'static_library',
151       'dependencies': [
152         '../base/base.gyp:base',
153         '../ui/gfx/gfx.gyp:gfx_geometry',
154         'mojo_geometry_bindings',
155         'mojo_geometry_lib',
156         'mojo_shell_bindings',
157         'mojo_view_manager_bindings',
158         'mojo_view_manager_common',
159       ],
160       'sources': [
161         'services/public/cpp/view_manager/lib/view.cc',
162         'services/public/cpp/view_manager/lib/view_private.cc',
163         'services/public/cpp/view_manager/lib/view_private.h',
164         'services/public/cpp/view_manager/lib/view_manager.cc',
165         'services/public/cpp/view_manager/lib/view_manager_private.cc',
166         'services/public/cpp/view_manager/lib/view_manager_private.h',
167         'services/public/cpp/view_manager/lib/view_manager_synchronizer.cc',
168         'services/public/cpp/view_manager/lib/view_manager_synchronizer.h',
169         'services/public/cpp/view_manager/lib/view_tree_host.cc',
170         'services/public/cpp/view_manager/lib/view_tree_node.cc',
171         'services/public/cpp/view_manager/lib/view_tree_node_observer.cc',
172         'services/public/cpp/view_manager/lib/view_tree_node_private.cc',
173         'services/public/cpp/view_manager/lib/view_tree_node_private.h',
174         'services/public/cpp/view_manager/view.h',
175         'services/public/cpp/view_manager/view_manager.h',
176         'services/public/cpp/view_manager/view_manager_types.h',
177         'services/public/cpp/view_manager/view_observer.h',
178         'services/public/cpp/view_manager/view_tree_host.h',
179         'services/public/cpp/view_manager/view_tree_node.h',
180         'services/public/cpp/view_manager/view_tree_node_observer.h',
181       ],
182     },
183     {
184       'target_name': 'mojo_view_manager_lib_unittests',
185       'type': 'executable',
186       'dependencies': [
187         '../base/base.gyp:base',
188         '../base/base.gyp:test_support_base',
189         '../testing/gtest.gyp:gtest',
190         'mojo_environment_chromium',
191         'mojo_geometry_bindings',
192         'mojo_geometry_lib',
193         'mojo_shell_test_support',
194         'mojo_view_manager_bindings',
195         'mojo_view_manager_lib',
196       ],
197       'sources': [
198         'services/public/cpp/view_manager/tests/view_unittest.cc',
199         'services/public/cpp/view_manager/tests/view_manager_unittest.cc',
200         'services/public/cpp/view_manager/tests/view_tree_host_unittest.cc',
201         'services/public/cpp/view_manager/tests/view_tree_node_unittest.cc',
202       ],
203       'conditions': [
204         ['use_aura==1', {
205           'dependencies': [
206             'mojo_view_manager_run_unittests'
207           ],
208         }, {  # use_aura==0
209           'dependencies': [
210             'mojo_run_all_unittests',
211           ],
212         }]
213       ],
214     },
215   ],
216   'conditions': [
217     ['use_aura==1', {
218       'targets': [
219         {
220           'target_name': 'mojo_view_manager',
221           'type': '<(component)',
222           'dependencies': [
223             '../base/base.gyp:base',
224             '../skia/skia.gyp:skia',
225             '../ui/aura/aura.gyp:aura',
226             '../ui/base/ui_base.gyp:ui_base',
227             '../ui/gfx/gfx.gyp:gfx',
228             '../ui/gfx/gfx.gyp:gfx_geometry',
229             'mojo_aura_support',
230             'mojo_common_lib',
231             'mojo_environment_chromium',
232             'mojo_geometry_bindings',
233             'mojo_geometry_lib',
234             'mojo_gles2',
235             'mojo_launcher_bindings',
236             'mojo_native_viewport_bindings',
237             'mojo_shell_client',
238             'mojo_system_impl',
239             'mojo_view_manager_bindings',
240             'mojo_view_manager_common',
241           ],
242           'sources': [
243             'services/view_manager/ids.h',
244             'services/view_manager/main.cc',
245             'services/view_manager/node.cc',
246             'services/view_manager/node.h',
247             'services/view_manager/node_delegate.h',
248             'services/view_manager/root_node_manager.cc',
249             'services/view_manager/root_node_manager.h',
250             'services/view_manager/root_view_manager.cc',
251             'services/view_manager/root_view_manager.h',
252             'services/view_manager/view.cc',
253             'services/view_manager/view.h',
254             'services/view_manager/view_manager_connection.cc',
255             'services/view_manager/view_manager_connection.h',
256             'services/view_manager/view_manager_export.h',
257           ],
258           'defines': [
259             'MOJO_VIEW_MANAGER_IMPLEMENTATION',
260           ],
261         },
262         {
263           'target_name': 'mojo_view_manager_run_unittests',
264           'type': 'static_library',
265           'dependencies': [
266             '../base/base.gyp:base',
267             '../base/base.gyp:test_support_base',
268             '../ui/gl/gl.gyp:gl',
269           ],
270           'sources': [
271             'services/public/cpp/view_manager/lib/view_manager_test_suite.cc',
272             'services/public/cpp/view_manager/lib/view_manager_test_suite.h',
273             'services/public/cpp/view_manager/lib/view_manager_unittests.cc',
274           ],
275         },
276         {
277           'target_name': 'mojo_view_manager_unittests',
278           'type': 'executable',
279           'dependencies': [
280             '../base/base.gyp:base',
281             '../base/base.gyp:test_support_base',
282             '../skia/skia.gyp:skia',
283             '../testing/gtest.gyp:gtest',
284             '../ui/aura/aura.gyp:aura',
285             '../ui/gfx/gfx.gyp:gfx_geometry',
286             '../ui/gl/gl.gyp:gl',
287             'mojo_environment_chromium',
288             'mojo_geometry_bindings',
289             'mojo_geometry_lib',
290             'mojo_shell_client',
291             'mojo_shell_test_support',
292             'mojo_system_impl',
293             'mojo_view_manager_bindings',
294             'mojo_view_manager_common',
295             'mojo_view_manager_run_unittests',
296           ],
297           'sources': [
298             'services/view_manager/view_manager_connection_unittest.cc',
299           ],
300         },
301         {
302           'target_name': 'package_mojo_view_manager',
303           'variables': {
304             'app_name': 'mojo_view_manager',
305           },
306           'includes': [ 'build/package_app.gypi' ],
307         },
308       ],
309     }],
310     ['OS=="linux"', {
311       'targets': [
312         {
313           'target_name': 'mojo_dbus_echo_service',
314           'type': 'executable',
315           'dependencies': [
316             '../base/base.gyp:base',
317             '../build/linux/system.gyp:dbus',
318             '../dbus/dbus.gyp:dbus',
319             'mojo_common_lib',
320             'mojo_dbus_service',
321             'mojo_echo_bindings',
322             'mojo_environment_chromium',
323             'mojo_shell_client',
324             'mojo_system_impl',
325           ],
326           'sources': [
327             'services/dbus_echo/dbus_echo_service.cc',
328           ],
329         },
330       ],
331     }],
332   ],