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.
8 'target_name': 'mojo_sample_app',
9 'type': 'shared_library',
11 # TODO(darin): we should not be linking against these libraries!
12 '../ui/events/events.gyp:events',
13 '../ui/gfx/gfx.gyp:gfx_geometry',
16 'mojo_environment_standalone',
17 'mojo_geometry_bindings',
19 'mojo_native_viewport_bindings',
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',
33 'target_name': 'package_mojo_sample_app',
35 'app_name': 'mojo_sample_app',
37 'includes': [ 'build/package_app.gypi' ],
40 'target_name': 'mojo_compositor_app',
41 'type': 'shared_library',
43 '../base/base.gyp:base',
45 '../ui/gfx/gfx.gyp:gfx',
46 '../ui/gfx/gfx.gyp:gfx_geometry',
50 'mojo_environment_chromium',
51 'mojo_geometry_bindings',
54 'mojo_native_viewport_bindings',
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',
65 'target_name': 'package_mojo_compositor_app',
67 'app_name': 'mojo_compositor_app',
69 'includes': [ 'build/package_app.gypi' ],
72 'target_name': 'mojo_wget',
73 'type': 'shared_library',
77 'mojo_environment_standalone',
78 'mojo_network_bindings',
83 'examples/wget/wget.cc',
84 'public/cpp/application/lib/mojo_main_standalone.cc',
88 'target_name': 'package_mojo_wget',
90 'app_name': 'mojo_wget',
92 'includes': [ 'build/package_app.gypi' ],
95 'target_name': 'mojo_html_viewer',
96 'type': 'shared_library',
99 '../skia/skia.gyp:skia',
100 '../third_party/WebKit/public/blink.gyp:blink',
101 '../ui/native_theme/native_theme.gyp:native_theme',
102 '../url/url.gyp:url_lib',
105 'mojo_environment_chromium',
106 'mojo_navigation_bindings',
107 'mojo_network_bindings',
108 'mojo_launcher_bindings',
111 'mojo_view_manager_lib',
117 'examples/html_viewer/blink_input_events_type_converters.cc',
118 'examples/html_viewer/blink_input_events_type_converters.h',
119 'examples/html_viewer/blink_platform_impl.cc',
120 'examples/html_viewer/blink_platform_impl.h',
121 'examples/html_viewer/html_viewer.cc',
122 'examples/html_viewer/html_document_view.cc',
123 'examples/html_viewer/html_document_view.h',
124 'examples/html_viewer/webmimeregistry_impl.cc',
125 'examples/html_viewer/webmimeregistry_impl.h',
126 'examples/html_viewer/webstoragenamespace_impl.cc',
127 'examples/html_viewer/webstoragenamespace_impl.h',
128 'examples/html_viewer/webthemeengine_impl.cc',
129 'examples/html_viewer/webthemeengine_impl.h',
130 'examples/html_viewer/webthread_impl.cc',
131 'examples/html_viewer/webthread_impl.h',
132 'examples/html_viewer/weburlloader_impl.cc',
133 'examples/html_viewer/weburlloader_impl.h',
134 'public/cpp/application/lib/mojo_main_chromium.cc',
138 'target_name': 'mojo_media_viewer_bindings',
139 'type': 'static_library',
141 'examples/media_viewer/media_viewer.mojom',
143 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
144 'export_dependent_settings': [
152 'target_name': 'mojo_png_viewer',
153 'type': 'shared_library',
155 '../skia/skia.gyp:skia',
156 '../ui/gfx/gfx.gyp:gfx',
159 'mojo_environment_chromium',
160 'mojo_media_viewer_bindings',
161 'mojo_navigation_bindings',
162 'mojo_network_bindings',
163 'mojo_launcher_bindings',
166 'mojo_view_manager_lib',
169 'examples/png_viewer/png_viewer.cc',
170 'public/cpp/application/lib/mojo_main_chromium.cc',
174 'target_name': 'mojo_pepper_container_app',
175 'type': 'shared_library',
177 '../base/base.gyp:base',
178 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
179 '../gpu/gpu.gyp:command_buffer_common',
180 '../ppapi/ppapi.gyp:ppapi_c',
181 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
182 '../ui/events/events.gyp:events_base',
185 'mojo_environment_chromium',
186 'mojo_geometry_bindings',
188 'mojo_native_viewport_bindings',
192 # We don't really want to export. We could change how
193 # ppapi_{shared,thunk}_export.h are defined to avoid this.
194 'PPAPI_SHARED_IMPLEMENTATION',
195 'PPAPI_THUNK_IMPLEMENTATION',
198 # Source files from ppapi/.
199 # An alternative is to depend on
200 # '../ppapi/ppapi_internal.gyp:ppapi_shared', but that target includes
201 # a lot of things that we don't need.
202 # TODO(yzshen): Consider extracting these files into a separate target
203 # which mojo_pepper_container_app and ppapi_shared both depend on.
204 '../ppapi/shared_impl/api_id.h',
205 '../ppapi/shared_impl/callback_tracker.cc',
206 '../ppapi/shared_impl/callback_tracker.h',
207 '../ppapi/shared_impl/host_resource.cc',
208 '../ppapi/shared_impl/host_resource.h',
209 '../ppapi/shared_impl/id_assignment.cc',
210 '../ppapi/shared_impl/id_assignment.h',
211 '../ppapi/shared_impl/ppapi_globals.cc',
212 '../ppapi/shared_impl/ppapi_globals.h',
213 '../ppapi/shared_impl/ppapi_shared_export.h',
214 '../ppapi/shared_impl/ppb_message_loop_shared.cc',
215 '../ppapi/shared_impl/ppb_message_loop_shared.h',
216 '../ppapi/shared_impl/ppb_view_shared.cc',
217 '../ppapi/shared_impl/ppb_view_shared.h',
218 '../ppapi/shared_impl/proxy_lock.cc',
219 '../ppapi/shared_impl/proxy_lock.h',
220 '../ppapi/shared_impl/resource.cc',
221 '../ppapi/shared_impl/resource.h',
222 '../ppapi/shared_impl/resource_tracker.cc',
223 '../ppapi/shared_impl/resource_tracker.h',
224 '../ppapi/shared_impl/scoped_pp_resource.cc',
225 '../ppapi/shared_impl/scoped_pp_resource.h',
226 '../ppapi/shared_impl/singleton_resource_id.h',
227 '../ppapi/shared_impl/tracked_callback.cc',
228 '../ppapi/shared_impl/tracked_callback.h',
229 '../ppapi/thunk/enter.cc',
230 '../ppapi/thunk/enter.h',
231 '../ppapi/thunk/interfaces_ppb_private.h',
232 '../ppapi/thunk/interfaces_ppb_private_flash.h',
233 '../ppapi/thunk/interfaces_ppb_private_no_permissions.h',
234 '../ppapi/thunk/interfaces_ppb_public_dev.h',
235 '../ppapi/thunk/interfaces_ppb_public_dev_channel.h',
236 '../ppapi/thunk/interfaces_ppb_public_stable.h',
237 '../ppapi/thunk/interfaces_preamble.h',
238 '../ppapi/thunk/ppapi_thunk_export.h',
239 '../ppapi/thunk/ppb_graphics_3d_api.h',
240 '../ppapi/thunk/ppb_graphics_3d_thunk.cc',
241 '../ppapi/thunk/ppb_instance_api.h',
242 '../ppapi/thunk/ppb_instance_thunk.cc',
243 '../ppapi/thunk/ppb_message_loop_api.h',
244 '../ppapi/thunk/ppb_view_api.h',
245 '../ppapi/thunk/ppb_view_thunk.cc',
246 '../ppapi/thunk/resource_creation_api.h',
247 '../ppapi/thunk/thunk.h',
249 'examples/pepper_container_app/graphics_3d_resource.cc',
250 'examples/pepper_container_app/graphics_3d_resource.h',
251 'examples/pepper_container_app/interface_list.cc',
252 'examples/pepper_container_app/interface_list.h',
253 'examples/pepper_container_app/mojo_ppapi_globals.cc',
254 'examples/pepper_container_app/mojo_ppapi_globals.h',
255 'examples/pepper_container_app/pepper_container_app.cc',
256 'examples/pepper_container_app/plugin_instance.cc',
257 'examples/pepper_container_app/plugin_instance.h',
258 'examples/pepper_container_app/plugin_module.cc',
259 'examples/pepper_container_app/plugin_module.h',
260 'examples/pepper_container_app/ppb_core_thunk.cc',
261 'examples/pepper_container_app/ppb_opengles2_thunk.cc',
262 'examples/pepper_container_app/resource_creation_impl.cc',
263 'examples/pepper_container_app/resource_creation_impl.h',
264 'examples/pepper_container_app/thunk.h',
265 'examples/pepper_container_app/type_converters.h',
266 'public/cpp/application/lib/mojo_main_chromium.cc',
274 'target_name': 'mojo_aura_demo',
275 'type': 'shared_library',
277 '../base/base.gyp:base',
279 '../ui/aura/aura.gyp:aura',
280 '../ui/base/ui_base.gyp:ui_base',
281 '../ui/compositor/compositor.gyp:compositor',
282 '../ui/gfx/gfx.gyp:gfx',
283 '../ui/gfx/gfx.gyp:gfx_geometry',
287 'mojo_environment_chromium',
288 'mojo_geometry_bindings',
291 'mojo_view_manager_lib',
294 'examples/aura_demo/aura_demo.cc',
295 'public/cpp/application/lib/mojo_main_chromium.cc',
299 'target_name': 'mojo_aura_demo_init',
300 'type': 'shared_library',
302 '../base/base.gyp:base',
304 'mojo_environment_chromium',
306 'mojo_view_manager_bindings',
309 'examples/aura_demo/view_manager_init.cc',
310 'public/cpp/application/lib/mojo_main_chromium.cc',
314 'target_name': 'mojo_browser',
315 'type': 'shared_library',
317 '../base/base.gyp:base',
319 '../third_party/icu/icu.gyp:icui18n',
320 '../third_party/icu/icu.gyp:icuuc',
321 '../ui/aura/aura.gyp:aura',
322 '../ui/base/ui_base.gyp:ui_base',
323 '../ui/compositor/compositor.gyp:compositor',
324 '../ui/gfx/gfx.gyp:gfx',
325 '../ui/gfx/gfx.gyp:gfx_geometry',
326 '../ui/resources/ui_resources.gyp:ui_resources',
327 '../ui/resources/ui_resources.gyp:ui_test_pak',
328 '../ui/views/views.gyp:views',
329 '../url/url.gyp:url_lib',
333 'mojo_environment_chromium',
334 'mojo_geometry_bindings',
336 'mojo_input_events_lib',
337 'mojo_navigation_bindings',
339 'mojo_views_support',
340 'mojo_view_manager_bindings',
341 'mojo_view_manager_lib',
342 'mojo_window_manager_bindings',
345 'examples/browser/browser.cc',
346 'public/cpp/application/lib/mojo_main_chromium.cc',
350 'target_name': 'package_mojo_aura_demo',
352 'app_name': 'mojo_aura_demo',
354 'includes': [ 'build/package_app.gypi' ],
357 'target_name': 'mojo_demo_launcher',
358 'type': 'shared_library',
360 '../base/base.gyp:base',
361 '../skia/skia.gyp:skia',
362 '../ui/gfx/gfx.gyp:gfx',
363 '../ui/gfx/gfx.gyp:gfx_geometry',
364 '../ui/gl/gl.gyp:gl',
367 'mojo_environment_chromium',
368 'mojo_geometry_bindings',
370 'mojo_view_manager_bindings',
375 'examples/demo_launcher/demo_launcher.cc',
376 'public/cpp/application/lib/mojo_main_chromium.cc',
380 'target_name': 'mojo_keyboard',
381 'type': 'shared_library',
383 '../base/base.gyp:base',
385 '../third_party/icu/icu.gyp:icui18n',
386 '../third_party/icu/icu.gyp:icuuc',
387 '../ui/aura/aura.gyp:aura',
388 '../ui/base/ui_base.gyp:ui_base',
389 '../ui/compositor/compositor.gyp:compositor',
390 '../ui/gfx/gfx.gyp:gfx',
391 '../ui/gfx/gfx.gyp:gfx_geometry',
392 '../ui/resources/ui_resources.gyp:ui_resources',
393 '../ui/resources/ui_resources.gyp:ui_test_pak',
394 '../ui/views/views.gyp:views',
395 '../url/url.gyp:url_lib',
399 'mojo_environment_chromium',
400 'mojo_geometry_bindings',
402 'mojo_input_events_lib',
403 'mojo_keyboard_bindings',
404 'mojo_navigation_bindings',
406 'mojo_views_support',
407 'mojo_view_manager_bindings',
408 'mojo_view_manager_lib',
411 'examples/keyboard/keyboard_delegate.h',
412 'examples/keyboard/keyboard_view.cc',
413 'examples/keyboard/keyboard_view.h',
414 'examples/keyboard/keyboard.cc',
415 'examples/keyboard/keys.cc',
416 'examples/keyboard/keys.h',
417 'public/cpp/application/lib/mojo_main_chromium.cc',
421 'target_name': 'mojo_keyboard_bindings',
422 'type': 'static_library',
424 'examples/keyboard/keyboard.mojom',
426 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
427 'export_dependent_settings': [
435 'target_name': 'mojo_window_manager_bindings',
436 'type': 'static_library',
438 'examples/window_manager/window_manager.mojom',
442 'mojo_geometry_bindings',
444 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
445 'export_dependent_settings': [
450 'target_name': 'mojo_window_manager',
451 'type': 'shared_library',
453 '../base/base.gyp:base',
454 '../ui/aura/aura.gyp:aura',
455 '../ui/base/ui_base.gyp:ui_base',
456 '../ui/gfx/gfx.gyp:gfx',
457 '../ui/gfx/gfx.gyp:gfx_geometry',
458 '../ui/gl/gl.gyp:gl',
459 '../ui/resources/ui_resources.gyp:ui_resources',
460 '../ui/resources/ui_resources.gyp:ui_test_pak',
461 '../ui/views/views.gyp:views',
465 'mojo_environment_chromium',
466 'mojo_geometry_bindings',
469 'mojo_input_events_lib',
470 'mojo_keyboard_bindings',
471 'mojo_launcher_bindings',
472 'mojo_navigation_bindings',
473 'mojo_view_manager_lib',
474 'mojo_views_support',
475 'mojo_window_manager_bindings',
480 'examples/window_manager/debug_panel.h',
481 'examples/window_manager/debug_panel.cc',
482 'examples/window_manager/window_manager.cc',
483 'public/cpp/application/lib/mojo_main_chromium.cc',
487 'target_name': 'mojo_embedded_app',
488 'type': 'shared_library',
490 '../base/base.gyp:base',
491 '../ui/gfx/gfx.gyp:gfx_geometry',
492 '../ui/gl/gl.gyp:gl',
493 '../url/url.gyp:url_lib',
496 'mojo_environment_chromium',
497 'mojo_geometry_bindings',
499 'mojo_navigation_bindings',
500 'mojo_view_manager_lib',
501 'mojo_window_manager_bindings',
506 'examples/embedded_app/embedded_app.cc',
507 'public/cpp/application/lib/mojo_main_chromium.cc',
511 'target_name': 'mojo_nesting_app',
512 'type': 'shared_library',
514 '../base/base.gyp:base',
515 '../ui/gfx/gfx.gyp:gfx_geometry',
516 '../ui/gl/gl.gyp:gl',
517 '../url/url.gyp:url_lib',
520 'mojo_environment_chromium',
521 'mojo_geometry_bindings',
523 'mojo_navigation_bindings',
524 'mojo_view_manager_lib',
525 'mojo_window_manager_bindings',
530 'examples/nesting_app/nesting_app.cc',
531 'public/cpp/application/lib/mojo_main_chromium.cc',
535 'target_name': 'mojo_media_viewer',
536 'type': 'shared_library',
538 '../base/base.gyp:base',
539 '../skia/skia.gyp:skia',
540 '../ui/gfx/gfx.gyp:gfx_geometry',
541 '../ui/views/views.gyp:views',
543 'mojo_environment_chromium',
544 'mojo_input_events_lib',
545 'mojo_media_viewer_bindings',
546 'mojo_navigation_bindings',
548 'mojo_views_support',
549 'mojo_view_manager_bindings',
550 'mojo_view_manager_lib',
553 'examples/media_viewer/media_viewer.cc',
554 'public/cpp/application/lib/mojo_main_chromium.cc',
562 'target_name': 'mojo_dbus_echo',
563 'type': 'shared_library',
565 '../base/base.gyp:base',
568 'mojo_environment_standalone',
569 'mojo_echo_bindings',
574 'examples/dbus_echo/dbus_echo_app.cc',
575 'public/cpp/application/lib/mojo_main_standalone.cc',