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_pepper_container_app',
96 'type': 'shared_library',
98 '../base/base.gyp:base',
99 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
100 '../gpu/gpu.gyp:command_buffer_common',
101 '../ppapi/ppapi.gyp:ppapi_c',
102 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
103 '../ui/events/events.gyp:events_base',
106 'mojo_environment_chromium',
107 'mojo_geometry_bindings',
109 'mojo_native_viewport_bindings',
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',
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 # TODO(yzshen): Consider extracting these files into a separate target
124 # which mojo_pepper_container_app and ppapi_shared both depend on.
125 '../ppapi/shared_impl/api_id.h',
126 '../ppapi/shared_impl/callback_tracker.cc',
127 '../ppapi/shared_impl/callback_tracker.h',
128 '../ppapi/shared_impl/host_resource.cc',
129 '../ppapi/shared_impl/host_resource.h',
130 '../ppapi/shared_impl/id_assignment.cc',
131 '../ppapi/shared_impl/id_assignment.h',
132 '../ppapi/shared_impl/ppapi_globals.cc',
133 '../ppapi/shared_impl/ppapi_globals.h',
134 '../ppapi/shared_impl/ppapi_shared_export.h',
135 '../ppapi/shared_impl/ppb_message_loop_shared.cc',
136 '../ppapi/shared_impl/ppb_message_loop_shared.h',
137 '../ppapi/shared_impl/ppb_view_shared.cc',
138 '../ppapi/shared_impl/ppb_view_shared.h',
139 '../ppapi/shared_impl/proxy_lock.cc',
140 '../ppapi/shared_impl/proxy_lock.h',
141 '../ppapi/shared_impl/resource.cc',
142 '../ppapi/shared_impl/resource.h',
143 '../ppapi/shared_impl/resource_tracker.cc',
144 '../ppapi/shared_impl/resource_tracker.h',
145 '../ppapi/shared_impl/scoped_pp_resource.cc',
146 '../ppapi/shared_impl/scoped_pp_resource.h',
147 '../ppapi/shared_impl/singleton_resource_id.h',
148 '../ppapi/shared_impl/tracked_callback.cc',
149 '../ppapi/shared_impl/tracked_callback.h',
150 '../ppapi/thunk/enter.cc',
151 '../ppapi/thunk/enter.h',
152 '../ppapi/thunk/interfaces_ppb_private.h',
153 '../ppapi/thunk/interfaces_ppb_private_flash.h',
154 '../ppapi/thunk/interfaces_ppb_private_no_permissions.h',
155 '../ppapi/thunk/interfaces_ppb_public_dev.h',
156 '../ppapi/thunk/interfaces_ppb_public_dev_channel.h',
157 '../ppapi/thunk/interfaces_ppb_public_stable.h',
158 '../ppapi/thunk/interfaces_preamble.h',
159 '../ppapi/thunk/ppapi_thunk_export.h',
160 '../ppapi/thunk/ppb_graphics_3d_api.h',
161 '../ppapi/thunk/ppb_graphics_3d_thunk.cc',
162 '../ppapi/thunk/ppb_instance_api.h',
163 '../ppapi/thunk/ppb_instance_thunk.cc',
164 '../ppapi/thunk/ppb_message_loop_api.h',
165 '../ppapi/thunk/ppb_view_api.h',
166 '../ppapi/thunk/ppb_view_thunk.cc',
167 '../ppapi/thunk/resource_creation_api.h',
168 '../ppapi/thunk/thunk.h',
170 'examples/pepper_container_app/graphics_3d_resource.cc',
171 'examples/pepper_container_app/graphics_3d_resource.h',
172 'examples/pepper_container_app/interface_list.cc',
173 'examples/pepper_container_app/interface_list.h',
174 'examples/pepper_container_app/mojo_ppapi_globals.cc',
175 'examples/pepper_container_app/mojo_ppapi_globals.h',
176 'examples/pepper_container_app/pepper_container_app.cc',
177 'examples/pepper_container_app/plugin_instance.cc',
178 'examples/pepper_container_app/plugin_instance.h',
179 'examples/pepper_container_app/plugin_module.cc',
180 'examples/pepper_container_app/plugin_module.h',
181 'examples/pepper_container_app/ppb_core_thunk.cc',
182 'examples/pepper_container_app/ppb_opengles2_thunk.cc',
183 'examples/pepper_container_app/resource_creation_impl.cc',
184 'examples/pepper_container_app/resource_creation_impl.h',
185 'examples/pepper_container_app/thunk.h',
186 'examples/pepper_container_app/type_converters.h',
187 'public/cpp/application/lib/mojo_main_chromium.cc',
195 'target_name': 'mojo_aura_demo',
196 'type': 'shared_library',
198 '../base/base.gyp:base',
200 '../ui/aura/aura.gyp:aura',
201 '../ui/base/ui_base.gyp:ui_base',
202 '../ui/compositor/compositor.gyp:compositor',
203 '../ui/gfx/gfx.gyp:gfx',
204 '../ui/gfx/gfx.gyp:gfx_geometry',
208 'mojo_environment_chromium',
209 'mojo_geometry_bindings',
212 'mojo_view_manager_bindings',
215 'examples/aura_demo/aura_demo.cc',
216 'public/cpp/application/lib/mojo_main_chromium.cc',
220 'target_name': 'mojo_aura_demo_init',
221 'type': 'shared_library',
223 '../base/base.gyp:base',
225 'mojo_environment_chromium',
227 'mojo_view_manager_bindings',
230 'examples/aura_demo/view_manager_init.cc',
231 'public/cpp/application/lib/mojo_main_chromium.cc',
235 'target_name': 'mojo_browser',
236 'type': 'shared_library',
238 '../base/base.gyp:base',
240 '../third_party/icu/icu.gyp:icui18n',
241 '../third_party/icu/icu.gyp:icuuc',
242 '../ui/aura/aura.gyp:aura',
243 '../ui/base/ui_base.gyp:ui_base',
244 '../ui/compositor/compositor.gyp:compositor',
245 '../ui/gfx/gfx.gyp:gfx',
246 '../ui/gfx/gfx.gyp:gfx_geometry',
247 '../ui/resources/ui_resources.gyp:ui_resources',
248 '../ui/resources/ui_resources.gyp:ui_test_pak',
249 '../ui/views/views.gyp:views',
253 'mojo_environment_chromium',
254 'mojo_geometry_bindings',
256 'mojo_input_events_lib',
258 'mojo_views_support',
259 'mojo_view_manager_bindings',
260 'mojo_view_manager_lib',
263 'examples/browser/browser.cc',
264 'public/cpp/application/lib/mojo_main_chromium.cc',
268 'target_name': 'package_mojo_aura_demo',
270 'app_name': 'mojo_aura_demo',
272 'includes': [ 'build/package_app.gypi' ],
275 'target_name': 'mojo_demo_launcher',
276 'type': 'shared_library',
278 '../base/base.gyp:base',
279 '../skia/skia.gyp:skia',
280 '../ui/gfx/gfx.gyp:gfx',
281 '../ui/gfx/gfx.gyp:gfx_geometry',
282 '../ui/gl/gl.gyp:gl',
285 'mojo_environment_chromium',
286 'mojo_geometry_bindings',
288 'mojo_view_manager_bindings',
293 'examples/demo_launcher/demo_launcher.cc',
294 'public/cpp/application/lib/mojo_main_chromium.cc',
298 'target_name': 'mojo_window_manager_bindings',
299 'type': 'static_library',
301 'examples/window_manager/window_manager.mojom',
303 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
304 'export_dependent_settings': [
312 'target_name': 'mojo_window_manager',
313 'type': 'shared_library',
315 '../base/base.gyp:base',
316 '../ui/gfx/gfx.gyp:gfx_geometry',
317 '../ui/gl/gl.gyp:gl',
320 'mojo_environment_chromium',
321 'mojo_geometry_bindings',
323 'mojo_view_manager_lib',
324 'mojo_window_manager_bindings',
329 'examples/window_manager/window_manager.cc',
330 'public/cpp/application/lib/mojo_main_chromium.cc',
334 'target_name': 'mojo_embedded_app',
335 'type': 'shared_library',
337 '../base/base.gyp:base',
338 '../ui/gfx/gfx.gyp:gfx_geometry',
339 '../ui/gl/gl.gyp:gl',
342 'mojo_environment_chromium',
343 'mojo_geometry_bindings',
345 'mojo_view_manager_lib',
346 'mojo_window_manager_bindings',
351 'examples/embedded_app/embedded_app.cc',
352 'public/cpp/application/lib/mojo_main_chromium.cc',
356 'target_name': 'mojo_nesting_app',
357 'type': 'shared_library',
359 '../base/base.gyp:base',
360 '../ui/gfx/gfx.gyp:gfx_geometry',
361 '../ui/gl/gl.gyp:gl',
364 'mojo_environment_chromium',
365 'mojo_geometry_bindings',
367 'mojo_view_manager_lib',
368 'mojo_window_manager_bindings',
373 'examples/nesting_app/nesting_app.cc',
374 'public/cpp/application/lib/mojo_main_chromium.cc',
382 'target_name': 'mojo_dbus_echo',
383 'type': 'shared_library',
385 '../base/base.gyp:base',
388 'mojo_environment_standalone',
389 'mojo_echo_bindings',
394 'examples/dbus_echo/dbus_echo_app.cc',
395 'public/cpp/application/lib/mojo_main_standalone.cc',