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',
15 'mojo_environment_standalone',
17 'mojo_native_viewport_bindings',
23 'examples/sample_app/gles2_client_impl.cc',
24 'examples/sample_app/gles2_client_impl.cc',
25 'examples/sample_app/sample_app.cc',
26 'examples/sample_app/spinning_cube.cc',
27 'examples/sample_app/spinning_cube.h',
31 'target_name': 'package_mojo_sample_app',
33 'app_name': 'mojo_sample_app',
35 'includes': [ 'build/package_app.gypi' ],
38 'target_name': 'mojo_compositor_app',
39 'type': 'shared_library',
41 '../base/base.gyp:base',
43 '../ui/gfx/gfx.gyp:gfx',
44 '../ui/gfx/gfx.gyp:gfx_geometry',
47 'mojo_environment_chromium',
49 'mojo_native_viewport_bindings',
54 'examples/compositor_app/compositor_app.cc',
55 'examples/compositor_app/compositor_host.cc',
56 'examples/compositor_app/compositor_host.h',
60 'target_name': 'package_mojo_compositor_app',
62 'app_name': 'mojo_compositor_app',
64 'includes': [ 'build/package_app.gypi' ],
67 'target_name': 'mojo_pepper_container_app',
68 'type': 'shared_library',
70 '../base/base.gyp:base',
71 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
72 '../gpu/gpu.gyp:command_buffer_common',
73 '../ppapi/ppapi.gyp:ppapi_c',
74 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
76 'mojo_environment_chromium',
78 'mojo_native_viewport_bindings',
83 # We don't really want to export. We could change how
84 # ppapi_{shared,thunk}_export.h are defined to avoid this.
85 'PPAPI_SHARED_IMPLEMENTATION',
86 'PPAPI_THUNK_IMPLEMENTATION',
89 # Source files from ppapi/.
90 # An alternative is to depend on
91 # '../ppapi/ppapi_internal.gyp:ppapi_shared', but that target includes
92 # a lot of things that we don't need.
93 # TODO(yzshen): Consider extracting these files into a separate target
94 # which mojo_pepper_container_app and ppapi_shared both depend on.
95 '../ppapi/shared_impl/api_id.h',
96 '../ppapi/shared_impl/callback_tracker.cc',
97 '../ppapi/shared_impl/callback_tracker.h',
98 '../ppapi/shared_impl/host_resource.cc',
99 '../ppapi/shared_impl/host_resource.h',
100 '../ppapi/shared_impl/id_assignment.cc',
101 '../ppapi/shared_impl/id_assignment.h',
102 '../ppapi/shared_impl/ppapi_globals.cc',
103 '../ppapi/shared_impl/ppapi_globals.h',
104 '../ppapi/shared_impl/ppapi_shared_export.h',
105 '../ppapi/shared_impl/ppb_message_loop_shared.cc',
106 '../ppapi/shared_impl/ppb_message_loop_shared.h',
107 '../ppapi/shared_impl/ppb_view_shared.cc',
108 '../ppapi/shared_impl/ppb_view_shared.h',
109 '../ppapi/shared_impl/proxy_lock.cc',
110 '../ppapi/shared_impl/proxy_lock.h',
111 '../ppapi/shared_impl/resource.cc',
112 '../ppapi/shared_impl/resource.h',
113 '../ppapi/shared_impl/resource_tracker.cc',
114 '../ppapi/shared_impl/resource_tracker.h',
115 '../ppapi/shared_impl/scoped_pp_resource.cc',
116 '../ppapi/shared_impl/scoped_pp_resource.h',
117 '../ppapi/shared_impl/singleton_resource_id.h',
118 '../ppapi/shared_impl/tracked_callback.cc',
119 '../ppapi/shared_impl/tracked_callback.h',
120 '../ppapi/thunk/enter.cc',
121 '../ppapi/thunk/enter.h',
122 '../ppapi/thunk/interfaces_ppb_private.h',
123 '../ppapi/thunk/interfaces_ppb_private_flash.h',
124 '../ppapi/thunk/interfaces_ppb_private_no_permissions.h',
125 '../ppapi/thunk/interfaces_ppb_public_dev.h',
126 '../ppapi/thunk/interfaces_ppb_public_dev_channel.h',
127 '../ppapi/thunk/interfaces_ppb_public_stable.h',
128 '../ppapi/thunk/interfaces_preamble.h',
129 '../ppapi/thunk/ppapi_thunk_export.h',
130 '../ppapi/thunk/ppb_graphics_3d_api.h',
131 '../ppapi/thunk/ppb_graphics_3d_thunk.cc',
132 '../ppapi/thunk/ppb_instance_api.h',
133 '../ppapi/thunk/ppb_instance_thunk.cc',
134 '../ppapi/thunk/ppb_message_loop_api.h',
135 '../ppapi/thunk/ppb_view_api.h',
136 '../ppapi/thunk/ppb_view_thunk.cc',
137 '../ppapi/thunk/resource_creation_api.h',
138 '../ppapi/thunk/thunk.h',
140 'examples/pepper_container_app/graphics_3d_resource.cc',
141 'examples/pepper_container_app/graphics_3d_resource.h',
142 'examples/pepper_container_app/interface_list.cc',
143 'examples/pepper_container_app/interface_list.h',
144 'examples/pepper_container_app/mojo_ppapi_globals.cc',
145 'examples/pepper_container_app/mojo_ppapi_globals.h',
146 'examples/pepper_container_app/pepper_container_app.cc',
147 'examples/pepper_container_app/plugin_instance.cc',
148 'examples/pepper_container_app/plugin_instance.h',
149 'examples/pepper_container_app/plugin_module.cc',
150 'examples/pepper_container_app/plugin_module.h',
151 'examples/pepper_container_app/ppb_core_thunk.cc',
152 'examples/pepper_container_app/ppb_opengles2_thunk.cc',
153 'examples/pepper_container_app/resource_creation_impl.cc',
154 'examples/pepper_container_app/resource_creation_impl.h',
155 'examples/pepper_container_app/thunk.h',
156 'examples/pepper_container_app/type_converters.h',
164 'target_name': 'mojo_aura_demo',
165 'type': 'shared_library',
167 '../base/base.gyp:base',
168 '../ui/aura/aura.gyp:aura',
169 '../ui/base/ui_base.gyp:ui_base',
170 '../ui/gfx/gfx.gyp:gfx',
171 '../ui/gfx/gfx.gyp:gfx_geometry',
175 'mojo_environment_chromium',
181 'examples/aura_demo/aura_demo.cc',
185 'target_name': 'package_mojo_aura_demo',
187 'app_name': 'mojo_aura_demo',
189 'includes': [ 'build/package_app.gypi' ],
192 'target_name': 'mojo_launcher_bindings',
193 'type': 'static_library',
195 'examples/launcher/launcher.mojom',
198 'mojom_base_output_dir': 'mojo',
200 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
201 'export_dependent_settings': [
209 'target_name': 'mojo_launcher',
210 'type': 'shared_library',
212 '../base/base.gyp:base',
213 '../base/base.gyp:base_i18n',
214 '../base/base.gyp:test_support_base',
215 '../ui/aura/aura.gyp:aura',
216 '../ui/aura/aura.gyp:aura_test_support',
217 '../ui/base/ui_base.gyp:ui_base',
218 '../ui/gfx/gfx.gyp:gfx',
219 '../ui/gfx/gfx.gyp:gfx_geometry',
220 '../ui/views/views.gyp:views',
221 '../ui/wm/wm.gyp:wm',
222 '../url/url.gyp:url_lib',
225 'mojo_environment_chromium',
227 'mojo_launcher_bindings',
232 'examples/launcher/launcher.cc',
236 'target_name': 'package_mojo_launcher',
238 'app_name': 'mojo_launcher',
240 'includes': [ 'build/package_app.gypi' ],
243 'target_name': 'mojo_sample_view_manager_app',
244 'type': 'shared_library',
246 '../base/base.gyp:base',
247 '../skia/skia.gyp:skia',
248 '../ui/gfx/gfx.gyp:gfx',
249 '../ui/gfx/gfx.gyp:gfx_geometry',
250 '../ui/gl/gl.gyp:gl',
252 'mojo_environment_chromium',
254 'mojo_view_manager_lib',
260 'examples/sample_view_manager_app/sample_view_manager_app.cc',
268 'target_name': 'mojo_dbus_echo',
269 'type': 'shared_library',
271 '../base/base.gyp:base',
273 'mojo_environment_standalone',
274 'mojo_echo_bindings',
280 'examples/dbus_echo/dbus_echo_app.cc',