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',
16 'mojo_environment_standalone',
17 'mojo_geometry_bindings',
19 'mojo_native_viewport_bindings',
24 'examples/sample_app/gles2_client_impl.cc',
25 'examples/sample_app/gles2_client_impl.cc',
26 'examples/sample_app/sample_app.cc',
27 'examples/sample_app/spinning_cube.cc',
28 'examples/sample_app/spinning_cube.h',
29 'public/cpp/application/lib/mojo_main_standalone.cc',
33 'target_name': 'package_mojo_sample_app',
35 'app_name': 'mojo_sample_app',
37 'includes': [ 'build/package_app.gypi' ],
40 'target_name': 'mojo_compositor_app',
41 'type': 'shared_library',
43 '../base/base.gyp:base',
45 '../ui/gfx/gfx.gyp:gfx',
46 '../ui/gfx/gfx.gyp:gfx_geometry',
50 'mojo_environment_chromium',
51 'mojo_geometry_bindings',
54 'mojo_native_viewport_bindings',
58 'examples/compositor_app/compositor_app.cc',
59 'examples/compositor_app/compositor_host.cc',
60 'examples/compositor_app/compositor_host.h',
61 'public/cpp/application/lib/mojo_main_chromium.cc',
65 'target_name': 'package_mojo_compositor_app',
67 'app_name': 'mojo_compositor_app',
69 'includes': [ 'build/package_app.gypi' ],
72 'target_name': 'mojo_wget',
73 'type': 'shared_library',
77 'mojo_environment_standalone',
78 'mojo_network_bindings',
83 'examples/wget/wget.cc',
84 'public/cpp/application/lib/mojo_main_standalone.cc',
88 'target_name': 'package_mojo_wget',
90 'app_name': 'mojo_wget',
92 'includes': [ 'build/package_app.gypi' ],
95 'target_name': 'mojo_html_viewer',
96 'type': 'shared_library',
98 '../skia/skia.gyp:skia',
101 'mojo_environment_chromium',
102 'mojo_navigation_bindings',
103 'mojo_network_bindings',
104 'mojo_launcher_bindings',
107 'mojo_view_manager_lib',
110 'examples/html_viewer/html_viewer.cc',
111 'public/cpp/application/lib/mojo_main_chromium.cc',
115 'target_name': 'mojo_image_viewer',
116 'type': 'shared_library',
118 '../skia/skia.gyp:skia',
119 '../ui/gfx/gfx.gyp:gfx',
122 'mojo_environment_chromium',
123 'mojo_navigation_bindings',
124 'mojo_network_bindings',
125 'mojo_launcher_bindings',
128 'mojo_view_manager_lib',
131 'examples/image_viewer/image_viewer.cc',
132 'public/cpp/application/lib/mojo_main_chromium.cc',
136 'target_name': 'mojo_pepper_container_app',
137 'type': 'shared_library',
139 '../base/base.gyp:base',
140 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
141 '../gpu/gpu.gyp:command_buffer_common',
142 '../ppapi/ppapi.gyp:ppapi_c',
143 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
144 '../ui/events/events.gyp:events_base',
147 'mojo_environment_chromium',
148 'mojo_geometry_bindings',
150 'mojo_native_viewport_bindings',
154 # We don't really want to export. We could change how
155 # ppapi_{shared,thunk}_export.h are defined to avoid this.
156 'PPAPI_SHARED_IMPLEMENTATION',
157 'PPAPI_THUNK_IMPLEMENTATION',
160 # Source files from ppapi/.
161 # An alternative is to depend on
162 # '../ppapi/ppapi_internal.gyp:ppapi_shared', but that target includes
163 # a lot of things that we don't need.
164 # TODO(yzshen): Consider extracting these files into a separate target
165 # which mojo_pepper_container_app and ppapi_shared both depend on.
166 '../ppapi/shared_impl/api_id.h',
167 '../ppapi/shared_impl/callback_tracker.cc',
168 '../ppapi/shared_impl/callback_tracker.h',
169 '../ppapi/shared_impl/host_resource.cc',
170 '../ppapi/shared_impl/host_resource.h',
171 '../ppapi/shared_impl/id_assignment.cc',
172 '../ppapi/shared_impl/id_assignment.h',
173 '../ppapi/shared_impl/ppapi_globals.cc',
174 '../ppapi/shared_impl/ppapi_globals.h',
175 '../ppapi/shared_impl/ppapi_shared_export.h',
176 '../ppapi/shared_impl/ppb_message_loop_shared.cc',
177 '../ppapi/shared_impl/ppb_message_loop_shared.h',
178 '../ppapi/shared_impl/ppb_view_shared.cc',
179 '../ppapi/shared_impl/ppb_view_shared.h',
180 '../ppapi/shared_impl/proxy_lock.cc',
181 '../ppapi/shared_impl/proxy_lock.h',
182 '../ppapi/shared_impl/resource.cc',
183 '../ppapi/shared_impl/resource.h',
184 '../ppapi/shared_impl/resource_tracker.cc',
185 '../ppapi/shared_impl/resource_tracker.h',
186 '../ppapi/shared_impl/scoped_pp_resource.cc',
187 '../ppapi/shared_impl/scoped_pp_resource.h',
188 '../ppapi/shared_impl/singleton_resource_id.h',
189 '../ppapi/shared_impl/tracked_callback.cc',
190 '../ppapi/shared_impl/tracked_callback.h',
191 '../ppapi/thunk/enter.cc',
192 '../ppapi/thunk/enter.h',
193 '../ppapi/thunk/interfaces_ppb_private.h',
194 '../ppapi/thunk/interfaces_ppb_private_flash.h',
195 '../ppapi/thunk/interfaces_ppb_private_no_permissions.h',
196 '../ppapi/thunk/interfaces_ppb_public_dev.h',
197 '../ppapi/thunk/interfaces_ppb_public_dev_channel.h',
198 '../ppapi/thunk/interfaces_ppb_public_stable.h',
199 '../ppapi/thunk/interfaces_preamble.h',
200 '../ppapi/thunk/ppapi_thunk_export.h',
201 '../ppapi/thunk/ppb_graphics_3d_api.h',
202 '../ppapi/thunk/ppb_graphics_3d_thunk.cc',
203 '../ppapi/thunk/ppb_instance_api.h',
204 '../ppapi/thunk/ppb_instance_thunk.cc',
205 '../ppapi/thunk/ppb_message_loop_api.h',
206 '../ppapi/thunk/ppb_view_api.h',
207 '../ppapi/thunk/ppb_view_thunk.cc',
208 '../ppapi/thunk/resource_creation_api.h',
209 '../ppapi/thunk/thunk.h',
211 'examples/pepper_container_app/graphics_3d_resource.cc',
212 'examples/pepper_container_app/graphics_3d_resource.h',
213 'examples/pepper_container_app/interface_list.cc',
214 'examples/pepper_container_app/interface_list.h',
215 'examples/pepper_container_app/mojo_ppapi_globals.cc',
216 'examples/pepper_container_app/mojo_ppapi_globals.h',
217 'examples/pepper_container_app/pepper_container_app.cc',
218 'examples/pepper_container_app/plugin_instance.cc',
219 'examples/pepper_container_app/plugin_instance.h',
220 'examples/pepper_container_app/plugin_module.cc',
221 'examples/pepper_container_app/plugin_module.h',
222 'examples/pepper_container_app/ppb_core_thunk.cc',
223 'examples/pepper_container_app/ppb_opengles2_thunk.cc',
224 'examples/pepper_container_app/resource_creation_impl.cc',
225 'examples/pepper_container_app/resource_creation_impl.h',
226 'examples/pepper_container_app/thunk.h',
227 'examples/pepper_container_app/type_converters.h',
228 'public/cpp/application/lib/mojo_main_chromium.cc',
236 'target_name': 'mojo_aura_demo',
237 'type': 'shared_library',
239 '../base/base.gyp:base',
241 '../ui/aura/aura.gyp:aura',
242 '../ui/base/ui_base.gyp:ui_base',
243 '../ui/compositor/compositor.gyp:compositor',
244 '../ui/gfx/gfx.gyp:gfx',
245 '../ui/gfx/gfx.gyp:gfx_geometry',
249 'mojo_environment_chromium',
250 'mojo_geometry_bindings',
253 'mojo_view_manager_lib',
256 'examples/aura_demo/aura_demo.cc',
257 'public/cpp/application/lib/mojo_main_chromium.cc',
261 'target_name': 'mojo_aura_demo_init',
262 'type': 'shared_library',
264 '../base/base.gyp:base',
266 'mojo_environment_chromium',
268 'mojo_view_manager_bindings',
271 'examples/aura_demo/view_manager_init.cc',
272 'public/cpp/application/lib/mojo_main_chromium.cc',
276 'target_name': 'mojo_browser',
277 'type': 'shared_library',
279 '../base/base.gyp:base',
281 '../third_party/icu/icu.gyp:icui18n',
282 '../third_party/icu/icu.gyp:icuuc',
283 '../ui/aura/aura.gyp:aura',
284 '../ui/base/ui_base.gyp:ui_base',
285 '../ui/compositor/compositor.gyp:compositor',
286 '../ui/gfx/gfx.gyp:gfx',
287 '../ui/gfx/gfx.gyp:gfx_geometry',
288 '../ui/resources/ui_resources.gyp:ui_resources',
289 '../ui/resources/ui_resources.gyp:ui_test_pak',
290 '../ui/views/views.gyp:views',
291 '../url/url.gyp:url_lib',
295 'mojo_environment_chromium',
296 'mojo_geometry_bindings',
298 'mojo_input_events_lib',
299 'mojo_navigation_bindings',
301 'mojo_views_support',
302 'mojo_view_manager_bindings',
303 'mojo_view_manager_lib',
306 'examples/browser/browser.cc',
307 'public/cpp/application/lib/mojo_main_chromium.cc',
311 'target_name': 'package_mojo_aura_demo',
313 'app_name': 'mojo_aura_demo',
315 'includes': [ 'build/package_app.gypi' ],
318 'target_name': 'mojo_demo_launcher',
319 'type': 'shared_library',
321 '../base/base.gyp:base',
322 '../skia/skia.gyp:skia',
323 '../ui/gfx/gfx.gyp:gfx',
324 '../ui/gfx/gfx.gyp:gfx_geometry',
325 '../ui/gl/gl.gyp:gl',
328 'mojo_environment_chromium',
329 'mojo_geometry_bindings',
331 'mojo_view_manager_bindings',
336 'examples/demo_launcher/demo_launcher.cc',
337 'public/cpp/application/lib/mojo_main_chromium.cc',
341 'target_name': 'mojo_window_manager_bindings',
342 'type': 'static_library',
344 'examples/window_manager/window_manager.mojom',
346 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
347 'export_dependent_settings': [
355 'target_name': 'mojo_window_manager',
356 'type': 'shared_library',
358 '../base/base.gyp:base',
359 '../ui/gfx/gfx.gyp:gfx_geometry',
360 '../ui/gl/gl.gyp:gl',
363 'mojo_environment_chromium',
364 'mojo_geometry_bindings',
366 'mojo_launcher_bindings',
367 'mojo_navigation_bindings',
368 'mojo_view_manager_lib',
369 'mojo_window_manager_bindings',
374 'examples/window_manager/window_manager.cc',
375 'public/cpp/application/lib/mojo_main_chromium.cc',
379 'target_name': 'mojo_embedded_app',
380 'type': 'shared_library',
382 '../base/base.gyp:base',
383 '../ui/gfx/gfx.gyp:gfx_geometry',
384 '../ui/gl/gl.gyp:gl',
385 '../url/url.gyp:url_lib',
388 'mojo_environment_chromium',
389 'mojo_geometry_bindings',
391 'mojo_navigation_bindings',
392 'mojo_view_manager_lib',
393 'mojo_window_manager_bindings',
398 'examples/embedded_app/embedded_app.cc',
399 'public/cpp/application/lib/mojo_main_chromium.cc',
403 'target_name': 'mojo_nesting_app',
404 'type': 'shared_library',
406 '../base/base.gyp:base',
407 '../ui/gfx/gfx.gyp:gfx_geometry',
408 '../ui/gl/gl.gyp:gl',
409 '../url/url.gyp:url_lib',
412 'mojo_environment_chromium',
413 'mojo_geometry_bindings',
415 'mojo_navigation_bindings',
416 'mojo_view_manager_lib',
417 'mojo_window_manager_bindings',
422 'examples/nesting_app/nesting_app.cc',
423 'public/cpp/application/lib/mojo_main_chromium.cc',
431 'target_name': 'mojo_dbus_echo',
432 'type': 'shared_library',
434 '../base/base.gyp:base',
437 'mojo_environment_standalone',
438 'mojo_echo_bindings',
443 'examples/dbus_echo/dbus_echo_app.cc',
444 'public/cpp/application/lib/mojo_main_standalone.cc',