blob: 17756c92e3ea6ef0f5b8d15bada5e0318fb4d990 [file] [log] [blame]
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
# GN version: //mojo/examples/echo:client
'target_name': 'mojo_echo_client',
'type': 'loadable_module',
'dependencies': [
'mojo_echo_service_bindings',
'public/mojo_public.gyp:mojo_application_standalone',
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/echo/echo_client.cc',
],
},
{
'target_name': 'package_mojo_echo_client',
'variables': {
'app_name': 'mojo_echo_client',
},
'includes': [ 'build/package_app.gypi' ],
},
{
# GN version: //mojo/examples/echo:bindings
'target_name': 'mojo_echo_service_bindings',
'type': 'static_library',
'sources': [
'examples/echo/echo_service.mojom',
],
'dependencies': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
# GN version: //mojo/examples/echo:service
'target_name': 'mojo_echo_service',
'type': 'loadable_module',
'dependencies': [
'mojo_echo_service_bindings',
'public/mojo_public.gyp:mojo_application_standalone',
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/echo/echo_service.cc',
],
},
{
'target_name': 'package_mojo_echo_service',
'variables': {
'app_name': 'mojo_echo_service',
},
'includes': [ 'build/package_app.gypi' ],
},
{
# GN version: //mojo/examples/sample_app
'target_name': 'mojo_sample_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings',
'public/mojo_public.gyp:mojo_application_standalone',
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'includes': [
'mojo_public_gles2_for_loadable_module.gypi',
],
'sources': [
'examples/sample_app/gles2_client_impl.cc',
'examples/sample_app/gles2_client_impl.h',
'examples/sample_app/sample_app.cc',
'examples/sample_app/spinning_cube.cc',
'examples/sample_app/spinning_cube.h',
],
},
{
'target_name': 'package_mojo_sample_app',
'variables': {
'app_name': 'mojo_sample_app',
},
'includes': [ 'build/package_app.gypi' ],
},
{
# GN version: //mojo/examples/apptest:bindings
'target_name': 'mojo_example_service_bindings',
'type': 'static_library',
'sources': [
'examples/apptest/example_service.mojom',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
'dependencies': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
# GN version: //mojo/examples/apptest:service
'target_name': 'mojo_example_service',
'type': 'loadable_module',
'dependencies': [
'mojo_example_service_bindings',
'public/mojo_public.gyp:mojo_application_standalone', # For ApplicationDelegate.
'public/mojo_public.gyp:mojo_cpp_bindings', # For *.mojom.h
'public/mojo_public.gyp:mojo_utility', # For RunLoop.
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/apptest/example_service_application.cc',
'examples/apptest/example_service_application.h',
'examples/apptest/example_service_impl.cc',
'examples/apptest/example_service_impl.h',
],
},
{
# GN version: //mojo/examples/apptest:apptests
'target_name': 'mojo_example_apptests',
'type': 'loadable_module',
'dependencies': [
'../testing/gtest.gyp:gtest',
'mojo_example_service',
'mojo_example_service_bindings',
'public/mojo_public.gyp:mojo_application_standalone', # For ApplicationDelegate.
'public/mojo_public.gyp:mojo_utility', # For RunLoop.
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/apptest/example_apptest.cc',
'examples/apptest/example_client_application.cc',
'examples/apptest/example_client_application.h',
'examples/apptest/example_client_impl.cc',
'examples/apptest/example_client_impl.h',
],
},
{
'target_name': 'package_mojo_example_apptests',
'variables': {
'app_name': 'mojo_example_apptests',
},
'includes': [ 'build/package_app.gypi' ],
},
{
# GN version: //mojo/examples/compositor_app
'target_name': 'mojo_compositor_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'mojo_base.gyp:mojo_application_chromium',
'mojo_base.gyp:mojo_common_lib',
'mojo_cc_support',
'mojo_geometry_lib',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings',
'<(mojo_system_for_loadable_module)',
],
'includes': [
'mojo_public_gles2_for_loadable_module.gypi',
],
'sources': [
'examples/compositor_app/compositor_app.cc',
'examples/compositor_app/compositor_host.cc',
'examples/compositor_app/compositor_host.h',
],
},
{
'target_name': 'package_mojo_compositor_app',
'variables': {
'app_name': 'mojo_compositor_app',
},
'includes': [ 'build/package_app.gypi' ],
},
{
# GN version: //mojo/examples/wget
'target_name': 'mojo_wget',
'type': 'loadable_module',
'dependencies': [
'services/public/mojo_services_public.gyp:mojo_network_bindings',
'public/mojo_public.gyp:mojo_application_standalone', # For ApplicationDelegate.
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/wget/wget.cc',
],
},
{
# GN version: //mojo/examples/content_handler_demo
'target_name': 'mojo_content_handler_demo',
'type': 'loadable_module',
'dependencies': [
'services/public/mojo_services_public.gyp:mojo_content_handler_bindings',
'public/mojo_public.gyp:mojo_application_standalone', # For ApplicationDelegate.
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/content_handler_demo/content_handler_demo.cc',
],
},
{
'target_name': 'package_mojo_wget',
'variables': {
'app_name': 'mojo_wget',
},
'includes': [ 'build/package_app.gypi' ],
},
{
# GN version: //mojo/examples/media_viewer:bindings
'target_name': 'mojo_media_viewer_bindings',
'type': 'static_library',
'sources': [
'examples/media_viewer/media_viewer.mojom',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
'dependencies': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
# GN version: //mojo/examples/png_viewer
'target_name': 'mojo_png_viewer',
'type': 'loadable_module',
'dependencies': [
'../skia/skia.gyp:skia',
'../ui/gfx/gfx.gyp:gfx',
'mojo_base.gyp:mojo_application_chromium',
'services/public/mojo_services_public.gyp:mojo_content_handler_bindings',
'mojo_media_viewer_bindings',
'services/public/mojo_services_public.gyp:mojo_network_bindings',
'mojo_view_manager_lib',
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/png_viewer/png_viewer.cc',
],
},
{
# GN version: //mojo/examples/pepper_container_app
'target_name': 'mojo_pepper_container_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../gpu/gpu.gyp:command_buffer_common',
'../ppapi/ppapi.gyp:ppapi_c',
'../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
'../ui/events/events.gyp:events_base',
'mojo_base.gyp:mojo_application_chromium',
'mojo_base.gyp:mojo_common_lib',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings',
'<(mojo_system_for_loadable_module)',
],
'includes': [
'mojo_public_gles2_for_loadable_module.gypi',
],
'defines': [
# We don't really want to export. We could change how
# ppapi_{shared,thunk}_export.h are defined to avoid this.
'PPAPI_SHARED_IMPLEMENTATION',
'PPAPI_THUNK_IMPLEMENTATION',
],
'sources': [
# Source files from ppapi/.
# An alternative is to depend on
# '../ppapi/ppapi_internal.gyp:ppapi_shared', but that target includes
# a lot of things that we don't need.
# TODO(yzshen): Consider extracting these files into a separate target
# which mojo_pepper_container_app and ppapi_shared both depend on.
'../ppapi/shared_impl/api_id.h',
'../ppapi/shared_impl/callback_tracker.cc',
'../ppapi/shared_impl/callback_tracker.h',
'../ppapi/shared_impl/host_resource.cc',
'../ppapi/shared_impl/host_resource.h',
'../ppapi/shared_impl/id_assignment.cc',
'../ppapi/shared_impl/id_assignment.h',
'../ppapi/shared_impl/ppapi_globals.cc',
'../ppapi/shared_impl/ppapi_globals.h',
'../ppapi/shared_impl/ppapi_shared_export.h',
'../ppapi/shared_impl/ppb_message_loop_shared.cc',
'../ppapi/shared_impl/ppb_message_loop_shared.h',
'../ppapi/shared_impl/ppb_view_shared.cc',
'../ppapi/shared_impl/ppb_view_shared.h',
'../ppapi/shared_impl/proxy_lock.cc',
'../ppapi/shared_impl/proxy_lock.h',
'../ppapi/shared_impl/resource.cc',
'../ppapi/shared_impl/resource.h',
'../ppapi/shared_impl/resource_tracker.cc',
'../ppapi/shared_impl/resource_tracker.h',
'../ppapi/shared_impl/scoped_pp_resource.cc',
'../ppapi/shared_impl/scoped_pp_resource.h',
'../ppapi/shared_impl/singleton_resource_id.h',
'../ppapi/shared_impl/tracked_callback.cc',
'../ppapi/shared_impl/tracked_callback.h',
'../ppapi/thunk/enter.cc',
'../ppapi/thunk/enter.h',
'../ppapi/thunk/interfaces_ppb_private.h',
'../ppapi/thunk/interfaces_ppb_private_flash.h',
'../ppapi/thunk/interfaces_ppb_private_no_permissions.h',
'../ppapi/thunk/interfaces_ppb_public_dev.h',
'../ppapi/thunk/interfaces_ppb_public_dev_channel.h',
'../ppapi/thunk/interfaces_ppb_public_stable.h',
'../ppapi/thunk/interfaces_preamble.h',
'../ppapi/thunk/ppapi_thunk_export.h',
'../ppapi/thunk/ppb_graphics_3d_api.h',
'../ppapi/thunk/ppb_graphics_3d_thunk.cc',
'../ppapi/thunk/ppb_instance_api.h',
'../ppapi/thunk/ppb_instance_thunk.cc',
'../ppapi/thunk/ppb_message_loop_api.h',
'../ppapi/thunk/ppb_view_api.h',
'../ppapi/thunk/ppb_view_thunk.cc',
'../ppapi/thunk/resource_creation_api.h',
'../ppapi/thunk/thunk.h',
'examples/pepper_container_app/graphics_3d_resource.cc',
'examples/pepper_container_app/graphics_3d_resource.h',
'examples/pepper_container_app/interface_list.cc',
'examples/pepper_container_app/interface_list.h',
'examples/pepper_container_app/mojo_ppapi_globals.cc',
'examples/pepper_container_app/mojo_ppapi_globals.h',
'examples/pepper_container_app/pepper_container_app.cc',
'examples/pepper_container_app/plugin_instance.cc',
'examples/pepper_container_app/plugin_instance.h',
'examples/pepper_container_app/plugin_module.cc',
'examples/pepper_container_app/plugin_module.h',
'examples/pepper_container_app/ppb_core_thunk.cc',
'examples/pepper_container_app/ppb_opengles2_thunk.cc',
'examples/pepper_container_app/resource_creation_impl.cc',
'examples/pepper_container_app/resource_creation_impl.h',
'examples/pepper_container_app/thunk.h',
'examples/pepper_container_app/type_converters.h',
],
},
{
# GN version: //mojo/examples/surfaces_app:parent_app
'target_name': 'mojo_surfaces_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../cc/cc.gyp:cc_surfaces',
'../skia/skia.gyp:skia',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'mojo_base.gyp:mojo_application_chromium',
'mojo_base.gyp:mojo_common_lib',
'mojo_geometry_lib',
'mojo_surfaces_app_bindings',
'mojo_surfaces_lib',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings',
'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
'public/mojo_public.gyp:mojo_cpp_bindings',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/surfaces_app/embedder.cc',
'examples/surfaces_app/embedder.h',
'examples/surfaces_app/surfaces_app.cc',
'examples/surfaces_app/surfaces_util.cc',
'examples/surfaces_app/surfaces_util.h',
],
},
{
# GN version: //mojo/examples/surfaces_app:bindings
'target_name': 'mojo_surfaces_app_bindings',
'type': 'static_library',
'sources': [
'examples/surfaces_app/child.mojom',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
'dependencies': [
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
'public/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
'target_name': 'package_mojo_surfaces_app',
'variables': {
'app_name': 'mojo_surfaces_app',
},
'includes': [ 'build/package_app.gypi' ],
},
{
# GN version: //mojo/examples/surfaces_app:child_app
'target_name': 'mojo_surfaces_child_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../cc/cc.gyp:cc_surfaces',
'../skia/skia.gyp:skia',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'mojo_base.gyp:mojo_application_chromium',
'mojo_base.gyp:mojo_common_lib',
'mojo_geometry_lib',
'mojo_surfaces_app_bindings',
'mojo_surfaces_lib',
'services/public/mojo_services_public.gyp:mojo_surface_id_bindings',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
'public/mojo_public.gyp:mojo_cpp_bindings',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/surfaces_app/child_app.cc',
'examples/surfaces_app/child_impl.cc',
'examples/surfaces_app/child_impl.h',
'examples/surfaces_app/surfaces_util.cc',
'examples/surfaces_app/surfaces_util.h',
],
},
{
# GN version: //mojo/examples/surfaces_app:child_gl_app
'target_name': 'mojo_surfaces_child_gl_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../cc/cc.gyp:cc_surfaces',
'../gpu/gpu.gyp:gpu',
'../skia/skia.gyp:skia',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'mojo_base.gyp:mojo_application_chromium',
'mojo_base.gyp:mojo_common_lib',
'mojo_geometry_lib',
'mojo_surfaces_app_bindings',
'mojo_surfaces_lib',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
'public/mojo_public.gyp:mojo_cpp_bindings',
'<(mojo_system_for_loadable_module)',
],
'includes': [
'mojo_public_gles2_for_loadable_module.gypi',
],
'sources': [
'examples/surfaces_app/child_gl_app.cc',
'examples/surfaces_app/child_gl_impl.cc',
'examples/surfaces_app/child_gl_impl.h',
'examples/surfaces_app/surfaces_util.cc',
'examples/surfaces_app/surfaces_util.h',
'examples/sample_app/spinning_cube.cc',
'examples/sample_app/spinning_cube.h',
],
}
],
'conditions': [
['use_aura==1', {
'targets': [
{
# GN version: //mojo/examples/aura_demo:mojo_aura_demo
'target_name': 'mojo_aura_demo',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../ui/aura/aura.gyp:aura',
'../ui/base/ui_base.gyp:ui_base',
'../ui/compositor/compositor.gyp:compositor',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'mojo_aura_support',
'mojo_base.gyp:mojo_application_chromium',
'mojo_base.gyp:mojo_common_lib',
'mojo_geometry_lib',
'mojo_view_manager_lib',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/aura_demo/aura_demo.cc',
],
},
{
# GN version: //mojo/examples/aura_demo:init
'target_name': 'mojo_aura_demo_init',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'mojo_base.gyp:mojo_application_chromium',
'services/public/mojo_services_public.gyp:mojo_view_manager_bindings',
'mojo_view_manager_lib',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/aura_demo/view_manager_init.cc',
],
},
{
# GN version: //mojo/examples/browser
'target_name': 'mojo_browser',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
'../ui/aura/aura.gyp:aura',
'../ui/base/ui_base.gyp:ui_base',
'../ui/compositor/compositor.gyp:compositor',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../ui/resources/ui_resources.gyp:ui_resources',
'../ui/resources/ui_resources.gyp:ui_test_pak',
'../ui/views/views.gyp:views',
'../url/url.gyp:url_lib',
'mojo_aura_support',
'mojo_base.gyp:mojo_application_chromium',
'mojo_base.gyp:mojo_common_lib',
'mojo_geometry_lib',
'mojo_input_events_lib',
'mojo_view_manager_lib',
'mojo_views_support',
'mojo_window_manager_bindings',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
'services/public/mojo_services_public.gyp:mojo_view_manager_bindings',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/browser/browser.cc',
],
},
{
'target_name': 'package_mojo_aura_demo',
'variables': {
'app_name': 'mojo_aura_demo',
},
'includes': [ 'build/package_app.gypi' ],
},
{
# GYP version: //mojo/examples/demo_launcher
'target_name': 'mojo_demo_launcher',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../skia/skia.gyp:skia',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'mojo_base.gyp:mojo_application_chromium',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_view_manager_bindings',
'mojo_view_manager_lib',
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'includes': [
'mojo_public_gles2_for_loadable_module.gypi',
],
'sources': [
'examples/demo_launcher/demo_launcher.cc',
],
},
{
# GYP version: //mojo/examples/keyboard
'target_name': 'mojo_keyboard',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../cc/cc.gyp:cc',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
'../ui/aura/aura.gyp:aura',
'../ui/base/ui_base.gyp:ui_base',
'../ui/compositor/compositor.gyp:compositor',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../ui/resources/ui_resources.gyp:ui_resources',
'../ui/resources/ui_resources.gyp:ui_test_pak',
'../ui/views/views.gyp:views',
'../url/url.gyp:url_lib',
'mojo_aura_support',
'mojo_base.gyp:mojo_application_chromium',
'mojo_base.gyp:mojo_common_lib',
'mojo_geometry_lib',
'mojo_input_events_lib',
'mojo_keyboard_bindings',
'mojo_view_manager_lib',
'mojo_views_support',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
'services/public/mojo_services_public.gyp:mojo_view_manager_bindings',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/keyboard/keyboard_delegate.h',
'examples/keyboard/keyboard_view.cc',
'examples/keyboard/keyboard_view.h',
'examples/keyboard/keyboard.cc',
'examples/keyboard/keys.cc',
'examples/keyboard/keys.h',
],
},
{
# GYP version: //mojo/examples/keyboard:bindings
'target_name': 'mojo_keyboard_bindings',
'type': 'static_library',
'sources': [
'examples/keyboard/keyboard.mojom',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
'dependencies': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
# GN version: //mojo/examples/window_manager:bindings
'target_name': 'mojo_window_manager_bindings',
'type': 'static_library',
'sources': [
'examples/window_manager/window_manager.mojom',
],
'dependencies': [
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'public/mojo_public.gyp:mojo_cpp_bindings',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
# GN version: //mojo/examples/window_manager
'target_name': 'mojo_window_manager',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../ui/aura/aura.gyp:aura',
'../ui/base/ui_base.gyp:ui_base',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../ui/resources/ui_resources.gyp:ui_resources',
'../ui/resources/ui_resources.gyp:ui_test_pak',
'../ui/views/views.gyp:views',
'../ui/wm/wm.gyp:wm',
'mojo_aura_support',
'mojo_base.gyp:mojo_application_chromium',
'mojo_core_window_manager_lib',
'mojo_geometry_lib',
'mojo_input_events_lib',
'mojo_keyboard_bindings',
'mojo_view_manager_lib',
'mojo_views_support',
'mojo_window_manager_bindings',
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
'<(mojo_system_for_loadable_module)',
],
'includes': [
'mojo_public_gles2_for_loadable_module.gypi',
],
'sources': [
'examples/window_manager/debug_panel.h',
'examples/window_manager/debug_panel.cc',
'examples/window_manager/window_manager.cc',
],
},
{
# GN version: //mojo/examples/embedded_app
'target_name': 'mojo_embedded_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../url/url.gyp:url_lib',
'mojo_base.gyp:mojo_application_chromium',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
'mojo_view_manager_lib',
'mojo_window_manager_bindings',
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'includes': [
'mojo_public_gles2_for_loadable_module.gypi',
],
'sources': [
'examples/embedded_app/embedded_app.cc',
],
},
{
# GN version: //mojo/examples/nesting_app
'target_name': 'mojo_nesting_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../url/url.gyp:url_lib',
'mojo_base.gyp:mojo_application_chromium',
'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
'mojo_view_manager_lib',
'mojo_window_manager_bindings',
'public/mojo_public.gyp:mojo_cpp_bindings',
'public/mojo_public.gyp:mojo_utility',
'<(mojo_system_for_loadable_module)',
],
'includes': [
'mojo_public_gles2_for_loadable_module.gypi',
],
'sources': [
'examples/nesting_app/nesting_app.cc',
],
},
{
# GN version: //mojo/examples/media_viewer
'target_name': 'mojo_media_viewer',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../skia/skia.gyp:skia',
'../ui/gfx/gfx.gyp:gfx_geometry',
'../ui/views/views.gyp:views',
'mojo_base.gyp:mojo_application_chromium',
'mojo_input_events_lib',
'mojo_media_viewer_bindings',
'mojo_view_manager_lib',
'mojo_views_support',
'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
'services/public/mojo_services_public.gyp:mojo_view_manager_bindings',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/media_viewer/media_viewer.cc',
],
},
{
# GN version: //mojo/examples/wm_flow
'target_name': 'mojo_wm_flow_wm',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'../skia/skia.gyp:skia',
'../ui/views/views.gyp:views',
'mojo_base.gyp:mojo_application_chromium',
'mojo_core_window_manager_lib',
'mojo_view_manager_lib',
'mojo_views_support',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/wm_flow/wm/frame_controller.cc',
'examples/wm_flow/wm/frame_controller.h',
'examples/wm_flow/wm/wm.cc',
],
},
{
# GN version: //mojo/examples/wm_flow:init
'target_name': 'mojo_wm_flow_init',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'mojo_base.gyp:mojo_application_chromium',
'services/public/mojo_services_public.gyp:mojo_view_manager_bindings',
'mojo_view_manager_lib',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/wm_flow/init/init.cc',
],
},
{
# GN version: //mojo/examples/wm_flow:embedder_bindings
'target_name': 'mojo_wm_flow_embedder_bindings',
'type': 'static_library',
'sources': [
'examples/wm_flow/app/embedder.mojom',
],
'dependencies': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
# GN version: //mojo/examples/wm_flow:embeddee_bindings
'target_name': 'mojo_wm_flow_embeddee_bindings',
'type': 'static_library',
'sources': [
'examples/wm_flow/embedded/embeddee.mojom',
],
'dependencies': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'public/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
# GN version: //mojo/examples/wm_flow:app
'target_name': 'mojo_wm_flow_app',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'mojo_base.gyp:mojo_application_chromium',
'services/public/mojo_services_public.gyp:mojo_core_window_manager_bindings',
'mojo_view_manager_lib',
'mojo_wm_flow_embeddee_bindings',
'mojo_wm_flow_embedder_bindings',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/wm_flow/app/app.cc',
],
},
{
# GN version: //mojo/examples/wm_flow:embedded
'target_name': 'mojo_wm_flow_embedded',
'type': 'loadable_module',
'dependencies': [
'../base/base.gyp:base',
'mojo_base.gyp:mojo_application_chromium',
'services/public/mojo_services_public.gyp:mojo_core_window_manager_bindings',
'mojo_view_manager_lib',
'mojo_wm_flow_embeddee_bindings',
'mojo_wm_flow_embedder_bindings',
'<(mojo_system_for_loadable_module)',
],
'sources': [
'examples/wm_flow/embedded/embedded.cc',
],
},
],
}],
],
}