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',
16 'mojo_geometry_bindings',
18 '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',
32 'target_name': 'package_mojo_sample_app',
34 'app_name': 'mojo_sample_app',
36 'includes': [ 'build/package_app.gypi' ],
39 'target_name': 'mojo_compositor_app',
40 'type': 'shared_library',
42 '../base/base.gyp:base',
44 '../ui/gfx/gfx.gyp:gfx',
45 '../ui/gfx/gfx.gyp:gfx_geometry',
48 'mojo_environment_chromium',
49 'mojo_geometry_bindings',
52 'mojo_native_viewport_bindings',
57 'examples/compositor_app/compositor_app.cc',
58 'examples/compositor_app/compositor_host.cc',
59 'examples/compositor_app/compositor_host.h',
63 'target_name': 'package_mojo_compositor_app',
65 'app_name': 'mojo_compositor_app',
67 'includes': [ 'build/package_app.gypi' ],
70 'target_name': 'mojo_pepper_container_app',
71 'type': 'shared_library',
73 '../base/base.gyp:base',
74 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
75 '../gpu/gpu.gyp:command_buffer_common',
76 '../ppapi/ppapi.gyp:ppapi_c',
77 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
79 'mojo_environment_chromium',
80 'mojo_geometry_bindings',
82 'mojo_native_viewport_bindings',
87 # We don't really want to export. We could change how
88 # ppapi_{shared,thunk}_export.h are defined to avoid this.
89 'PPAPI_SHARED_IMPLEMENTATION',
90 'PPAPI_THUNK_IMPLEMENTATION',
93 # Source files from ppapi/.
94 # An alternative is to depend on
95 # '../ppapi/ppapi_internal.gyp:ppapi_shared', but that target includes
96 # a lot of things that we don't need.
97 # TODO(yzshen): Consider extracting these files into a separate target
98 # which mojo_pepper_container_app and ppapi_shared both depend on.
99 '../ppapi/shared_impl/api_id.h',
100 '../ppapi/shared_impl/callback_tracker.cc',
101 '../ppapi/shared_impl/callback_tracker.h',
102 '../ppapi/shared_impl/host_resource.cc',
103 '../ppapi/shared_impl/host_resource.h',
104 '../ppapi/shared_impl/id_assignment.cc',
105 '../ppapi/shared_impl/id_assignment.h',
106 '../ppapi/shared_impl/ppapi_globals.cc',
107 '../ppapi/shared_impl/ppapi_globals.h',
108 '../ppapi/shared_impl/ppapi_shared_export.h',
109 '../ppapi/shared_impl/ppb_message_loop_shared.cc',
110 '../ppapi/shared_impl/ppb_message_loop_shared.h',
111 '../ppapi/shared_impl/ppb_view_shared.cc',
112 '../ppapi/shared_impl/ppb_view_shared.h',
113 '../ppapi/shared_impl/proxy_lock.cc',
114 '../ppapi/shared_impl/proxy_lock.h',
115 '../ppapi/shared_impl/resource.cc',
116 '../ppapi/shared_impl/resource.h',
117 '../ppapi/shared_impl/resource_tracker.cc',
118 '../ppapi/shared_impl/resource_tracker.h',
119 '../ppapi/shared_impl/scoped_pp_resource.cc',
120 '../ppapi/shared_impl/scoped_pp_resource.h',
121 '../ppapi/shared_impl/singleton_resource_id.h',
122 '../ppapi/shared_impl/tracked_callback.cc',
123 '../ppapi/shared_impl/tracked_callback.h',
124 '../ppapi/thunk/enter.cc',
125 '../ppapi/thunk/enter.h',
126 '../ppapi/thunk/interfaces_ppb_private.h',
127 '../ppapi/thunk/interfaces_ppb_private_flash.h',
128 '../ppapi/thunk/interfaces_ppb_private_no_permissions.h',
129 '../ppapi/thunk/interfaces_ppb_public_dev.h',
130 '../ppapi/thunk/interfaces_ppb_public_dev_channel.h',
131 '../ppapi/thunk/interfaces_ppb_public_stable.h',
132 '../ppapi/thunk/interfaces_preamble.h',
133 '../ppapi/thunk/ppapi_thunk_export.h',
134 '../ppapi/thunk/ppb_graphics_3d_api.h',
135 '../ppapi/thunk/ppb_graphics_3d_thunk.cc',
136 '../ppapi/thunk/ppb_instance_api.h',
137 '../ppapi/thunk/ppb_instance_thunk.cc',
138 '../ppapi/thunk/ppb_message_loop_api.h',
139 '../ppapi/thunk/ppb_view_api.h',
140 '../ppapi/thunk/ppb_view_thunk.cc',
141 '../ppapi/thunk/resource_creation_api.h',
142 '../ppapi/thunk/thunk.h',
144 'examples/pepper_container_app/graphics_3d_resource.cc',
145 'examples/pepper_container_app/graphics_3d_resource.h',
146 'examples/pepper_container_app/interface_list.cc',
147 'examples/pepper_container_app/interface_list.h',
148 'examples/pepper_container_app/mojo_ppapi_globals.cc',
149 'examples/pepper_container_app/mojo_ppapi_globals.h',
150 'examples/pepper_container_app/pepper_container_app.cc',
151 'examples/pepper_container_app/plugin_instance.cc',
152 'examples/pepper_container_app/plugin_instance.h',
153 'examples/pepper_container_app/plugin_module.cc',
154 'examples/pepper_container_app/plugin_module.h',
155 'examples/pepper_container_app/ppb_core_thunk.cc',
156 'examples/pepper_container_app/ppb_opengles2_thunk.cc',
157 'examples/pepper_container_app/resource_creation_impl.cc',
158 'examples/pepper_container_app/resource_creation_impl.h',
159 'examples/pepper_container_app/thunk.h',
160 'examples/pepper_container_app/type_converters.h',
168 'target_name': 'mojo_aura_demo',
169 'type': 'shared_library',
171 '../base/base.gyp:base',
172 '../ui/aura/aura.gyp:aura',
173 '../ui/base/ui_base.gyp:ui_base',
174 '../ui/gfx/gfx.gyp:gfx',
175 '../ui/gfx/gfx.gyp:gfx_geometry',
179 'mojo_environment_chromium',
180 'mojo_geometry_bindings',
187 'examples/aura_demo/aura_demo.cc',
191 'target_name': 'package_mojo_aura_demo',
193 'app_name': 'mojo_aura_demo',
195 'includes': [ 'build/package_app.gypi' ],
198 'target_name': 'mojo_launcher_bindings',
199 'type': 'static_library',
201 'examples/launcher/launcher.mojom',
204 'mojom_base_output_dir': 'mojo',
206 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
207 'export_dependent_settings': [
215 'target_name': 'mojo_launcher',
216 'type': 'shared_library',
218 '../base/base.gyp:base',
219 '../base/base.gyp:base_i18n',
220 '../base/base.gyp:test_support_base',
221 '../ui/aura/aura.gyp:aura',
222 '../ui/aura/aura.gyp:aura_test_support',
223 '../ui/base/ui_base.gyp:ui_base',
224 '../ui/gfx/gfx.gyp:gfx',
225 '../ui/gfx/gfx.gyp:gfx_geometry',
226 '../ui/views/views.gyp:views',
227 '../ui/wm/wm.gyp:wm',
228 '../url/url.gyp:url_lib',
231 'mojo_environment_chromium',
232 'mojo_geometry_bindings',
235 'mojo_launcher_bindings',
240 'examples/launcher/launcher.cc',
244 'target_name': 'package_mojo_launcher',
246 'app_name': 'mojo_launcher',
248 'includes': [ 'build/package_app.gypi' ],
251 'target_name': 'mojo_sample_view_manager_app',
252 'type': 'shared_library',
254 '../base/base.gyp:base',
255 '../skia/skia.gyp:skia',
256 '../ui/gfx/gfx.gyp:gfx',
257 '../ui/gfx/gfx.gyp:gfx_geometry',
258 '../ui/gl/gl.gyp:gl',
260 'mojo_environment_chromium',
261 'mojo_geometry_bindings',
263 'mojo_view_manager_lib',
269 'examples/sample_view_manager_app/sample_view_manager_app.cc',
277 'target_name': 'mojo_dbus_echo',
278 'type': 'shared_library',
280 '../base/base.gyp:base',
282 'mojo_environment_standalone',
283 'mojo_echo_bindings',
289 'examples/dbus_echo/dbus_echo_app.cc',