MSE: Remap single text track number changes in frame processor
[chromium-blink-merge.git] / mojo / mojo_examples.gypi
bloba770a404c3737234363fd62e690805f3063971a0
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'targets': [
7     {
8       'target_name': 'mojo_sample_app',
9       'type': 'shared_library',
10       'dependencies': [
11         # TODO(darin): we should not be linking against these libraries!
12         '../ui/events/events.gyp:events',
13         '../ui/gfx/gfx.gyp:gfx_geometry',
14         'mojo_application',
15         'mojo_cpp_bindings',
16         'mojo_environment_standalone',
17         'mojo_geometry_bindings',
18         'mojo_gles2',
19         'mojo_native_viewport_bindings',
20         'mojo_system',
21         'mojo_utility',
22       ],
23       'sources': [
24         'examples/sample_app/gles2_client_impl.cc',
25         'examples/sample_app/gles2_client_impl.cc',
26         'examples/sample_app/sample_app.cc',
27         'examples/sample_app/spinning_cube.cc',
28         'examples/sample_app/spinning_cube.h',
29         'public/cpp/application/lib/mojo_main_standalone.cc',
30       ],
31     },
32     {
33       'target_name': 'package_mojo_sample_app',
34       'variables': {
35         'app_name': 'mojo_sample_app',
36       },
37       'includes': [ 'build/package_app.gypi' ],
38     },
39     {
40       'target_name': 'mojo_compositor_app',
41       'type': 'shared_library',
42       'dependencies': [
43         '../base/base.gyp:base',
44         '../cc/cc.gyp:cc',
45         '../ui/gfx/gfx.gyp:gfx',
46         '../ui/gfx/gfx.gyp:gfx_geometry',
47         'mojo_application',
48         'mojo_cc_support',
49         'mojo_common_lib',
50         'mojo_environment_chromium',
51         'mojo_geometry_bindings',
52         'mojo_geometry_lib',
53         'mojo_gles2',
54         'mojo_native_viewport_bindings',
55         'mojo_system_impl',
56       ],
57       'sources': [
58         'examples/compositor_app/compositor_app.cc',
59         'examples/compositor_app/compositor_host.cc',
60         'examples/compositor_app/compositor_host.h',
61         'public/cpp/application/lib/mojo_main_chromium.cc',
62       ],
63     },
64     {
65       'target_name': 'package_mojo_compositor_app',
66       'variables': {
67         'app_name': 'mojo_compositor_app',
68       },
69       'includes': [ 'build/package_app.gypi' ],
70     },
71     {
72       'target_name': 'mojo_wget',
73       'type': 'shared_library',
74       'dependencies': [
75         'mojo_application',
76         'mojo_cpp_bindings',
77         'mojo_environment_standalone',
78         'mojo_network_bindings',
79         'mojo_system',
80         'mojo_utility',
81       ],
82       'sources': [
83         'examples/wget/wget.cc',
84         'public/cpp/application/lib/mojo_main_standalone.cc',
85       ],
86     },
87     {
88       'target_name': 'package_mojo_wget',
89       'variables': {
90         'app_name': 'mojo_wget',
91       },
92       'includes': [ 'build/package_app.gypi' ],
93     },
94     {
95       'target_name': 'mojo_pepper_container_app',
96       'type': 'shared_library',
97       'dependencies': [
98         '../base/base.gyp:base',
99         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
100         '../gpu/gpu.gyp:command_buffer_common',
101         '../ppapi/ppapi.gyp:ppapi_c',
102         '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
103         '../ui/events/events.gyp:events_base',
104         'mojo_application',
105         'mojo_common_lib',
106         'mojo_environment_chromium',
107         'mojo_geometry_bindings',
108         'mojo_gles2',
109         'mojo_native_viewport_bindings',
110         'mojo_system_impl',
111       ],
112       'defines': [
113         # We don't really want to export. We could change how
114         # ppapi_{shared,thunk}_export.h are defined to avoid this.
115         'PPAPI_SHARED_IMPLEMENTATION',
116         'PPAPI_THUNK_IMPLEMENTATION',
117       ],
118       'sources': [
119         # Source files from ppapi/.
120         # An alternative is to depend on
121         # '../ppapi/ppapi_internal.gyp:ppapi_shared', but that target includes
122         # a lot of things that we don't need.
123         # TODO(yzshen): Consider extracting these files into a separate target
124         # which mojo_pepper_container_app and ppapi_shared both depend on.
125         '../ppapi/shared_impl/api_id.h',
126         '../ppapi/shared_impl/callback_tracker.cc',
127         '../ppapi/shared_impl/callback_tracker.h',
128         '../ppapi/shared_impl/host_resource.cc',
129         '../ppapi/shared_impl/host_resource.h',
130         '../ppapi/shared_impl/id_assignment.cc',
131         '../ppapi/shared_impl/id_assignment.h',
132         '../ppapi/shared_impl/ppapi_globals.cc',
133         '../ppapi/shared_impl/ppapi_globals.h',
134         '../ppapi/shared_impl/ppapi_shared_export.h',
135         '../ppapi/shared_impl/ppb_message_loop_shared.cc',
136         '../ppapi/shared_impl/ppb_message_loop_shared.h',
137         '../ppapi/shared_impl/ppb_view_shared.cc',
138         '../ppapi/shared_impl/ppb_view_shared.h',
139         '../ppapi/shared_impl/proxy_lock.cc',
140         '../ppapi/shared_impl/proxy_lock.h',
141         '../ppapi/shared_impl/resource.cc',
142         '../ppapi/shared_impl/resource.h',
143         '../ppapi/shared_impl/resource_tracker.cc',
144         '../ppapi/shared_impl/resource_tracker.h',
145         '../ppapi/shared_impl/scoped_pp_resource.cc',
146         '../ppapi/shared_impl/scoped_pp_resource.h',
147         '../ppapi/shared_impl/singleton_resource_id.h',
148         '../ppapi/shared_impl/tracked_callback.cc',
149         '../ppapi/shared_impl/tracked_callback.h',
150         '../ppapi/thunk/enter.cc',
151         '../ppapi/thunk/enter.h',
152         '../ppapi/thunk/interfaces_ppb_private.h',
153         '../ppapi/thunk/interfaces_ppb_private_flash.h',
154         '../ppapi/thunk/interfaces_ppb_private_no_permissions.h',
155         '../ppapi/thunk/interfaces_ppb_public_dev.h',
156         '../ppapi/thunk/interfaces_ppb_public_dev_channel.h',
157         '../ppapi/thunk/interfaces_ppb_public_stable.h',
158         '../ppapi/thunk/interfaces_preamble.h',
159         '../ppapi/thunk/ppapi_thunk_export.h',
160         '../ppapi/thunk/ppb_graphics_3d_api.h',
161         '../ppapi/thunk/ppb_graphics_3d_thunk.cc',
162         '../ppapi/thunk/ppb_instance_api.h',
163         '../ppapi/thunk/ppb_instance_thunk.cc',
164         '../ppapi/thunk/ppb_message_loop_api.h',
165         '../ppapi/thunk/ppb_view_api.h',
166         '../ppapi/thunk/ppb_view_thunk.cc',
167         '../ppapi/thunk/resource_creation_api.h',
168         '../ppapi/thunk/thunk.h',
170         'examples/pepper_container_app/graphics_3d_resource.cc',
171         'examples/pepper_container_app/graphics_3d_resource.h',
172         'examples/pepper_container_app/interface_list.cc',
173         'examples/pepper_container_app/interface_list.h',
174         'examples/pepper_container_app/mojo_ppapi_globals.cc',
175         'examples/pepper_container_app/mojo_ppapi_globals.h',
176         'examples/pepper_container_app/pepper_container_app.cc',
177         'examples/pepper_container_app/plugin_instance.cc',
178         'examples/pepper_container_app/plugin_instance.h',
179         'examples/pepper_container_app/plugin_module.cc',
180         'examples/pepper_container_app/plugin_module.h',
181         'examples/pepper_container_app/ppb_core_thunk.cc',
182         'examples/pepper_container_app/ppb_opengles2_thunk.cc',
183         'examples/pepper_container_app/resource_creation_impl.cc',
184         'examples/pepper_container_app/resource_creation_impl.h',
185         'examples/pepper_container_app/thunk.h',
186         'examples/pepper_container_app/type_converters.h',
187         'public/cpp/application/lib/mojo_main_chromium.cc',
188       ],
189     },
190   ],
191   'conditions': [
192     ['use_aura==1', {
193       'targets': [
194         {
195           'target_name': 'mojo_aura_demo',
196           'type': 'shared_library',
197           'dependencies': [
198             '../base/base.gyp:base',
199             '../cc/cc.gyp:cc',
200             '../ui/aura/aura.gyp:aura',
201             '../ui/base/ui_base.gyp:ui_base',
202             '../ui/compositor/compositor.gyp:compositor',
203             '../ui/gfx/gfx.gyp:gfx',
204             '../ui/gfx/gfx.gyp:gfx_geometry',
205             'mojo_application',
206             'mojo_aura_support',
207             'mojo_common_lib',
208             'mojo_environment_chromium',
209             'mojo_geometry_bindings',
210             'mojo_geometry_lib',
211             'mojo_system_impl',
212             'mojo_view_manager_bindings',
213           ],
214           'sources': [
215             'examples/aura_demo/aura_demo.cc',
216             'public/cpp/application/lib/mojo_main_chromium.cc',
217           ],
218         },
219         {
220           'target_name': 'mojo_aura_demo_init',
221           'type': 'shared_library',
222           'dependencies': [
223             '../base/base.gyp:base',
224             'mojo_application',
225             'mojo_environment_chromium',
226             'mojo_system_impl',
227             'mojo_view_manager_bindings',
228           ],
229           'sources': [
230             'examples/aura_demo/view_manager_init.cc',
231             'public/cpp/application/lib/mojo_main_chromium.cc',
232           ],
233         },
234         {
235           'target_name': 'mojo_browser',
236           'type': 'shared_library',
237           'dependencies': [
238             '../base/base.gyp:base',
239             '../cc/cc.gyp:cc',
240             '../third_party/icu/icu.gyp:icui18n',
241             '../third_party/icu/icu.gyp:icuuc',
242             '../ui/aura/aura.gyp:aura',
243             '../ui/base/ui_base.gyp:ui_base',
244             '../ui/compositor/compositor.gyp:compositor',
245             '../ui/gfx/gfx.gyp:gfx',
246             '../ui/gfx/gfx.gyp:gfx_geometry',
247             '../ui/resources/ui_resources.gyp:ui_resources',
248             '../ui/resources/ui_resources.gyp:ui_test_pak',
249             '../ui/views/views.gyp:views',
250             'mojo_application',
251             'mojo_aura_support',
252             'mojo_common_lib',
253             'mojo_environment_chromium',
254             'mojo_geometry_bindings',
255             'mojo_geometry_lib',
256             'mojo_input_events_lib',
257             'mojo_system_impl',
258             'mojo_views_support',
259             'mojo_view_manager_bindings',
260             'mojo_view_manager_lib',
261           ],
262           'sources': [
263             'examples/browser/browser.cc',
264             'public/cpp/application/lib/mojo_main_chromium.cc',
265           ],
266         },
267         {
268           'target_name': 'package_mojo_aura_demo',
269           'variables': {
270             'app_name': 'mojo_aura_demo',
271           },
272           'includes': [ 'build/package_app.gypi' ],
273         },
274         {
275           'target_name': 'mojo_demo_launcher',
276           'type': 'shared_library',
277           'dependencies': [
278             '../base/base.gyp:base',
279             '../skia/skia.gyp:skia',
280             '../ui/gfx/gfx.gyp:gfx',
281             '../ui/gfx/gfx.gyp:gfx_geometry',
282             '../ui/gl/gl.gyp:gl',
283             'mojo_application',
284             'mojo_cpp_bindings',
285             'mojo_environment_chromium',
286             'mojo_geometry_bindings',
287             'mojo_gles2',
288             'mojo_view_manager_bindings',
289             'mojo_system_impl',
290             'mojo_utility',
291           ],
292           'sources': [
293             'examples/demo_launcher/demo_launcher.cc',
294             'public/cpp/application/lib/mojo_main_chromium.cc',
295           ],
296         },
297         {
298           'target_name': 'mojo_window_manager_bindings',
299           'type': 'static_library',
300           'sources': [
301             'examples/window_manager/window_manager.mojom',
302           ],
303           'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
304           'export_dependent_settings': [
305             'mojo_cpp_bindings',
306           ],
307           'dependencies': [
308             'mojo_cpp_bindings',
309           ],
310         },
311         {
312           'target_name': 'mojo_window_manager',
313           'type': 'shared_library',
314           'dependencies': [
315             '../base/base.gyp:base',
316             '../ui/gfx/gfx.gyp:gfx_geometry',
317             '../ui/gl/gl.gyp:gl',
318             'mojo_application',
319             'mojo_cpp_bindings',
320             'mojo_environment_chromium',
321             'mojo_geometry_bindings',
322             'mojo_gles2',
323             'mojo_view_manager_lib',
324             'mojo_window_manager_bindings',
325             'mojo_system_impl',
326             'mojo_utility',
327           ],
328           'sources': [
329             'examples/window_manager/window_manager.cc',
330             'public/cpp/application/lib/mojo_main_chromium.cc',
331           ],
332         },
333         {
334           'target_name': 'mojo_embedded_app',
335           'type': 'shared_library',
336           'dependencies': [
337             '../base/base.gyp:base',
338             '../ui/gfx/gfx.gyp:gfx_geometry',
339             '../ui/gl/gl.gyp:gl',
340             'mojo_application',
341             'mojo_cpp_bindings',
342             'mojo_environment_chromium',
343             'mojo_geometry_bindings',
344             'mojo_gles2',
345             'mojo_view_manager_lib',
346             'mojo_window_manager_bindings',
347             'mojo_system_impl',
348             'mojo_utility',
349           ],
350           'sources': [
351             'examples/embedded_app/embedded_app.cc',
352             'public/cpp/application/lib/mojo_main_chromium.cc',
353           ],
354         },
355         {
356           'target_name': 'mojo_nesting_app',
357           'type': 'shared_library',
358           'dependencies': [
359             '../base/base.gyp:base',
360             '../ui/gfx/gfx.gyp:gfx_geometry',
361             '../ui/gl/gl.gyp:gl',
362             'mojo_application',
363             'mojo_cpp_bindings',
364             'mojo_environment_chromium',
365             'mojo_geometry_bindings',
366             'mojo_gles2',
367             'mojo_view_manager_lib',
368             'mojo_window_manager_bindings',
369             'mojo_system_impl',
370             'mojo_utility',
371           ],
372           'sources': [
373             'examples/nesting_app/nesting_app.cc',
374             'public/cpp/application/lib/mojo_main_chromium.cc',
375           ],
376         },
377       ],
378     }],
379     ['OS=="linux"', {
380       'targets': [
381         {
382           'target_name': 'mojo_dbus_echo',
383           'type': 'shared_library',
384           'dependencies': [
385             '../base/base.gyp:base',
386             'mojo_application',
387             'mojo_cpp_bindings',
388             'mojo_environment_standalone',
389             'mojo_echo_bindings',
390             'mojo_system',
391             'mojo_utility',
392           ],
393           'sources': [
394             'examples/dbus_echo/dbus_echo_app.cc',
395             'public/cpp/application/lib/mojo_main_standalone.cc',
396           ],
397         },
398       ],
399     }],
400   ],