| Index: mojo/mojo_examples.gypi
|
| diff --git a/mojo/mojo_examples.gypi b/mojo/mojo_examples.gypi
|
| index ee3c48e11cfe9527b7e9e3ecbed53071ebbc6428..8f6a976ee6846946034b2334f122ec638027027c 100644
|
| --- a/mojo/mojo_examples.gypi
|
| +++ b/mojo/mojo_examples.gypi
|
| @@ -79,6 +79,110 @@
|
| },
|
| 'includes': [ 'build/package_app.gypi' ],
|
| },
|
| + {
|
| + 'target_name': 'pepper_spinning_cube_demo',
|
| + 'dependencies': [
|
| + '../ppapi/ppapi.gyp:ppapi_cpp',
|
| + '../ppapi/ppapi.gyp:ppapi_gles2',
|
| + '../ppapi/ppapi_internal.gyp:ppapi_example_skeleton',
|
| + ],
|
| + 'include_dirs': [
|
| + '../ppapi/lib/gl/include',
|
| + ],
|
| + 'sources': [
|
| + 'examples/pepper_container_app/pepper_spinning_cube_demo/pepper_spinning_cube_demo.cc',
|
| + 'examples/pepper_container_app/pepper_spinning_cube_demo/spinning_cube.cc',
|
| + 'examples/pepper_container_app/pepper_spinning_cube_demo/spinning_cube.h',
|
| + ],
|
| + },
|
| + {
|
| + 'target_name': 'mojo_pepper_container_app',
|
| + 'type': 'shared_library',
|
| + 'dependencies': [
|
| + '../base/base.gyp:base',
|
| + '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
|
| + '../ppapi/ppapi.gyp:ppapi_c',
|
| + 'mojo_environment_chromium',
|
| + 'mojo_gles2',
|
| + 'mojo_native_viewport_bindings',
|
| + 'mojo_shell_bindings',
|
| + 'mojo_system',
|
| + 'pepper_spinning_cube_demo',
|
| + ],
|
| + '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.
|
| + '../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',
|
| + ],
|
| + },
|
| ],
|
| 'conditions': [
|
| ['use_aura==1', {
|
|
|