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': 'mojo_pepper_container_app', |
| 84 'type': 'shared_library', |
| 85 'dependencies': [ |
| 86 '../base/base.gyp:base', |
| 87 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 88 '../ppapi/ppapi.gyp:ppapi_c', |
| 89 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube', |
| 90 'mojo_environment_chromium', |
| 91 'mojo_gles2', |
| 92 'mojo_native_viewport_bindings', |
| 93 'mojo_shell_bindings', |
| 94 'mojo_system', |
| 95 ], |
| 96 'defines': [ |
| 97 # We don't really want to export. We could change how |
| 98 # ppapi_{shared,thunk}_export.h are defined to avoid this. |
| 99 'PPAPI_SHARED_IMPLEMENTATION', |
| 100 'PPAPI_THUNK_IMPLEMENTATION', |
| 101 ], |
| 102 'sources': [ |
| 103 # Source files from ppapi/. |
| 104 # An alternative is to depend on |
| 105 # '../ppapi/ppapi_internal.gyp:ppapi_shared', but that target includes |
| 106 # a lot of things that we don't need. |
| 107 # TODO(yzshen): Consider extracting these files into a separate target |
| 108 # which mojo_pepper_container_app and ppapi_shared both depend on. |
| 109 '../ppapi/shared_impl/api_id.h', |
| 110 '../ppapi/shared_impl/callback_tracker.cc', |
| 111 '../ppapi/shared_impl/callback_tracker.h', |
| 112 '../ppapi/shared_impl/host_resource.cc', |
| 113 '../ppapi/shared_impl/host_resource.h', |
| 114 '../ppapi/shared_impl/id_assignment.cc', |
| 115 '../ppapi/shared_impl/id_assignment.h', |
| 116 '../ppapi/shared_impl/ppapi_globals.cc', |
| 117 '../ppapi/shared_impl/ppapi_globals.h', |
| 118 '../ppapi/shared_impl/ppapi_shared_export.h', |
| 119 '../ppapi/shared_impl/ppb_message_loop_shared.cc', |
| 120 '../ppapi/shared_impl/ppb_message_loop_shared.h', |
| 121 '../ppapi/shared_impl/ppb_view_shared.cc', |
| 122 '../ppapi/shared_impl/ppb_view_shared.h', |
| 123 '../ppapi/shared_impl/proxy_lock.cc', |
| 124 '../ppapi/shared_impl/proxy_lock.h', |
| 125 '../ppapi/shared_impl/resource.cc', |
| 126 '../ppapi/shared_impl/resource.h', |
| 127 '../ppapi/shared_impl/resource_tracker.cc', |
| 128 '../ppapi/shared_impl/resource_tracker.h', |
| 129 '../ppapi/shared_impl/scoped_pp_resource.cc', |
| 130 '../ppapi/shared_impl/scoped_pp_resource.h', |
| 131 '../ppapi/shared_impl/singleton_resource_id.h', |
| 132 '../ppapi/shared_impl/tracked_callback.cc', |
| 133 '../ppapi/shared_impl/tracked_callback.h', |
| 134 '../ppapi/thunk/enter.cc', |
| 135 '../ppapi/thunk/enter.h', |
| 136 '../ppapi/thunk/interfaces_ppb_private.h', |
| 137 '../ppapi/thunk/interfaces_ppb_private_flash.h', |
| 138 '../ppapi/thunk/interfaces_ppb_private_no_permissions.h', |
| 139 '../ppapi/thunk/interfaces_ppb_public_dev.h', |
| 140 '../ppapi/thunk/interfaces_ppb_public_dev_channel.h', |
| 141 '../ppapi/thunk/interfaces_ppb_public_stable.h', |
| 142 '../ppapi/thunk/interfaces_preamble.h', |
| 143 '../ppapi/thunk/ppapi_thunk_export.h', |
| 144 '../ppapi/thunk/ppb_graphics_3d_api.h', |
| 145 '../ppapi/thunk/ppb_graphics_3d_thunk.cc', |
| 146 '../ppapi/thunk/ppb_instance_api.h', |
| 147 '../ppapi/thunk/ppb_instance_thunk.cc', |
| 148 '../ppapi/thunk/ppb_message_loop_api.h', |
| 149 '../ppapi/thunk/ppb_view_api.h', |
| 150 '../ppapi/thunk/ppb_view_thunk.cc', |
| 151 '../ppapi/thunk/resource_creation_api.h', |
| 152 '../ppapi/thunk/thunk.h', |
| 153 |
| 154 'examples/pepper_container_app/graphics_3d_resource.cc', |
| 155 'examples/pepper_container_app/graphics_3d_resource.h', |
| 156 'examples/pepper_container_app/interface_list.cc', |
| 157 'examples/pepper_container_app/interface_list.h', |
| 158 'examples/pepper_container_app/mojo_ppapi_globals.cc', |
| 159 'examples/pepper_container_app/mojo_ppapi_globals.h', |
| 160 'examples/pepper_container_app/pepper_container_app.cc', |
| 161 'examples/pepper_container_app/plugin_instance.cc', |
| 162 'examples/pepper_container_app/plugin_instance.h', |
| 163 'examples/pepper_container_app/plugin_module.cc', |
| 164 'examples/pepper_container_app/plugin_module.h', |
| 165 'examples/pepper_container_app/ppb_core_thunk.cc', |
| 166 'examples/pepper_container_app/ppb_opengles2_thunk.cc', |
| 167 'examples/pepper_container_app/resource_creation_impl.cc', |
| 168 'examples/pepper_container_app/resource_creation_impl.h', |
| 169 'examples/pepper_container_app/thunk.h', |
| 170 'examples/pepper_container_app/type_converters.h', |
| 171 ], |
| 172 }, |
82 ], | 173 ], |
83 'conditions': [ | 174 'conditions': [ |
84 ['use_aura==1', { | 175 ['use_aura==1', { |
85 'targets': [ | 176 'targets': [ |
86 { | 177 { |
87 'target_name': 'mojo_aura_demo_support', | 178 'target_name': 'mojo_aura_demo_support', |
88 'type': 'static_library', | 179 'type': 'static_library', |
89 'dependencies': [ | 180 'dependencies': [ |
90 '../cc/cc.gyp:cc', | 181 '../cc/cc.gyp:cc', |
91 '../ui/aura/aura.gyp:aura', | 182 '../ui/aura/aura.gyp:aura', |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 'target_name': 'package_mojo_view_manager', | 311 'target_name': 'package_mojo_view_manager', |
221 'variables': { | 312 'variables': { |
222 'app_name': 'mojo_view_manager', | 313 'app_name': 'mojo_view_manager', |
223 }, | 314 }, |
224 'includes': [ 'build/package_app.gypi' ], | 315 'includes': [ 'build/package_app.gypi' ], |
225 }, | 316 }, |
226 ], | 317 ], |
227 }], | 318 }], |
228 ], | 319 ], |
229 } | 320 } |
OLD | NEW |