OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'mojo_sample_app', | 8 'target_name': 'mojo_sample_app', |
9 'type': 'shared_library', | 9 'type': 'shared_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 'examples/compositor_app/compositor_host.h', | 72 'examples/compositor_app/compositor_host.h', |
73 ], | 73 ], |
74 }, | 74 }, |
75 { | 75 { |
76 'target_name': 'package_mojo_compositor_app', | 76 'target_name': 'package_mojo_compositor_app', |
77 'variables': { | 77 'variables': { |
78 'app_name': 'mojo_compositor_app', | 78 'app_name': 'mojo_compositor_app', |
79 }, | 79 }, |
80 'includes': [ 'build/package_app.gypi' ], | 80 'includes': [ 'build/package_app.gypi' ], |
81 }, | 81 }, |
| 82 { |
| 83 'target_name': 'pepper_spinning_cube_demo', |
| 84 'dependencies': [ |
| 85 '../ppapi/ppapi.gyp:ppapi_cpp', |
| 86 '../ppapi/ppapi.gyp:ppapi_gles2', |
| 87 '../ppapi/ppapi_internal.gyp:ppapi_example_skeleton', |
| 88 ], |
| 89 'include_dirs': [ |
| 90 '../ppapi/lib/gl/include', |
| 91 ], |
| 92 'sources': [ |
| 93 'examples/pepper_container_app/pepper_spinning_cube_demo/pepper_spinning
_cube_demo.cc', |
| 94 'examples/pepper_container_app/pepper_spinning_cube_demo/spinning_cube.c
c', |
| 95 'examples/pepper_container_app/pepper_spinning_cube_demo/spinning_cube.h
', |
| 96 ], |
| 97 }, |
| 98 { |
| 99 'target_name': 'mojo_pepper_container_app', |
| 100 'type': 'shared_library', |
| 101 'dependencies': [ |
| 102 '../base/base.gyp:base', |
| 103 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 104 '../ppapi/ppapi.gyp:ppapi_c', |
| 105 'mojo_environment_chromium', |
| 106 'mojo_gles2', |
| 107 'mojo_native_viewport_bindings', |
| 108 'mojo_shell_bindings', |
| 109 'mojo_system', |
| 110 'pepper_spinning_cube_demo', |
| 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 '../ppapi/shared_impl/api_id.h', |
| 124 '../ppapi/shared_impl/callback_tracker.cc', |
| 125 '../ppapi/shared_impl/callback_tracker.h', |
| 126 '../ppapi/shared_impl/host_resource.cc', |
| 127 '../ppapi/shared_impl/host_resource.h', |
| 128 '../ppapi/shared_impl/id_assignment.cc', |
| 129 '../ppapi/shared_impl/id_assignment.h', |
| 130 '../ppapi/shared_impl/ppapi_globals.cc', |
| 131 '../ppapi/shared_impl/ppapi_globals.h', |
| 132 '../ppapi/shared_impl/ppapi_shared_export.h', |
| 133 '../ppapi/shared_impl/ppb_message_loop_shared.cc', |
| 134 '../ppapi/shared_impl/ppb_message_loop_shared.h', |
| 135 '../ppapi/shared_impl/ppb_view_shared.cc', |
| 136 '../ppapi/shared_impl/ppb_view_shared.h', |
| 137 '../ppapi/shared_impl/proxy_lock.cc', |
| 138 '../ppapi/shared_impl/proxy_lock.h', |
| 139 '../ppapi/shared_impl/resource.cc', |
| 140 '../ppapi/shared_impl/resource.h', |
| 141 '../ppapi/shared_impl/resource_tracker.cc', |
| 142 '../ppapi/shared_impl/resource_tracker.h', |
| 143 '../ppapi/shared_impl/scoped_pp_resource.cc', |
| 144 '../ppapi/shared_impl/scoped_pp_resource.h', |
| 145 '../ppapi/shared_impl/singleton_resource_id.h', |
| 146 '../ppapi/shared_impl/tracked_callback.cc', |
| 147 '../ppapi/shared_impl/tracked_callback.h', |
| 148 '../ppapi/thunk/enter.cc', |
| 149 '../ppapi/thunk/enter.h', |
| 150 '../ppapi/thunk/interfaces_ppb_private.h', |
| 151 '../ppapi/thunk/interfaces_ppb_private_flash.h', |
| 152 '../ppapi/thunk/interfaces_ppb_private_no_permissions.h', |
| 153 '../ppapi/thunk/interfaces_ppb_public_dev.h', |
| 154 '../ppapi/thunk/interfaces_ppb_public_dev_channel.h', |
| 155 '../ppapi/thunk/interfaces_ppb_public_stable.h', |
| 156 '../ppapi/thunk/interfaces_preamble.h', |
| 157 '../ppapi/thunk/ppapi_thunk_export.h', |
| 158 '../ppapi/thunk/ppb_graphics_3d_api.h', |
| 159 '../ppapi/thunk/ppb_graphics_3d_thunk.cc', |
| 160 '../ppapi/thunk/ppb_instance_api.h', |
| 161 '../ppapi/thunk/ppb_instance_thunk.cc', |
| 162 '../ppapi/thunk/ppb_message_loop_api.h', |
| 163 '../ppapi/thunk/ppb_view_api.h', |
| 164 '../ppapi/thunk/ppb_view_thunk.cc', |
| 165 '../ppapi/thunk/resource_creation_api.h', |
| 166 '../ppapi/thunk/thunk.h', |
| 167 |
| 168 'examples/pepper_container_app/graphics_3d_resource.cc', |
| 169 'examples/pepper_container_app/graphics_3d_resource.h', |
| 170 'examples/pepper_container_app/interface_list.cc', |
| 171 'examples/pepper_container_app/interface_list.h', |
| 172 'examples/pepper_container_app/mojo_ppapi_globals.cc', |
| 173 'examples/pepper_container_app/mojo_ppapi_globals.h', |
| 174 'examples/pepper_container_app/pepper_container_app.cc', |
| 175 'examples/pepper_container_app/plugin_instance.cc', |
| 176 'examples/pepper_container_app/plugin_instance.h', |
| 177 'examples/pepper_container_app/plugin_module.cc', |
| 178 'examples/pepper_container_app/plugin_module.h', |
| 179 'examples/pepper_container_app/ppb_core_thunk.cc', |
| 180 'examples/pepper_container_app/ppb_opengles2_thunk.cc', |
| 181 'examples/pepper_container_app/resource_creation_impl.cc', |
| 182 'examples/pepper_container_app/resource_creation_impl.h', |
| 183 'examples/pepper_container_app/thunk.h', |
| 184 ], |
| 185 }, |
82 ], | 186 ], |
83 'conditions': [ | 187 'conditions': [ |
84 ['use_aura==1', { | 188 ['use_aura==1', { |
85 'targets': [ | 189 'targets': [ |
86 { | 190 { |
87 'target_name': 'mojo_aura_demo_support', | 191 'target_name': 'mojo_aura_demo_support', |
88 'type': 'static_library', | 192 'type': 'static_library', |
89 'dependencies': [ | 193 'dependencies': [ |
90 '../cc/cc.gyp:cc', | 194 '../cc/cc.gyp:cc', |
91 '../ui/aura/aura.gyp:aura', | 195 '../ui/aura/aura.gyp:aura', |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 'target_name': 'package_mojo_view_manager', | 316 'target_name': 'package_mojo_view_manager', |
213 'variables': { | 317 'variables': { |
214 'app_name': 'mojo_view_manager', | 318 'app_name': 'mojo_view_manager', |
215 }, | 319 }, |
216 'includes': [ 'build/package_app.gypi' ], | 320 'includes': [ 'build/package_app.gypi' ], |
217 }, | 321 }, |
218 ], | 322 ], |
219 }], | 323 }], |
220 ], | 324 ], |
221 } | 325 } |
OLD | NEW |