Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: mojo/mojo_examples.gypi

Issue 647263005: Remove gyp for mojo/examples (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/mojo.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 {
6 'targets': [
7 {
8 # GN version: //mojo/examples/echo:client
9 'target_name': 'mojo_echo_client',
10 'type': 'loadable_module',
11 'dependencies': [
12 'mojo_echo_service_bindings',
13 'public/mojo_public.gyp:mojo_application_standalone',
14 'public/mojo_public.gyp:mojo_cpp_bindings',
15 'public/mojo_public.gyp:mojo_utility',
16 '<(mojo_system_for_loadable_module)',
17 ],
18 'sources': [
19 'examples/echo/echo_client.cc',
20 ],
21 },
22 {
23 'target_name': 'package_mojo_echo_client',
24 'variables': {
25 'app_name': 'mojo_echo_client',
26 },
27 'includes': [ 'build/package_app.gypi' ],
28 },
29 {
30 # GN version: //mojo/examples/echo:bindings
31 'target_name': 'mojo_echo_service_bindings',
32 'type': 'static_library',
33 'sources': [
34 'examples/echo/echo_service.mojom',
35 ],
36 'dependencies': [
37 'public/mojo_public.gyp:mojo_cpp_bindings',
38 ],
39 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
40 'export_dependent_settings': [
41 'public/mojo_public.gyp:mojo_cpp_bindings',
42 ],
43 },
44 {
45 # GN version: //mojo/examples/echo:service
46 'target_name': 'mojo_echo_service',
47 'type': 'loadable_module',
48 'dependencies': [
49 'mojo_echo_service_bindings',
50 'public/mojo_public.gyp:mojo_application_standalone',
51 'public/mojo_public.gyp:mojo_cpp_bindings',
52 'public/mojo_public.gyp:mojo_utility',
53 '<(mojo_system_for_loadable_module)',
54 ],
55 'sources': [
56 'examples/echo/echo_service.cc',
57 ],
58 },
59 {
60 'target_name': 'package_mojo_echo_service',
61 'variables': {
62 'app_name': 'mojo_echo_service',
63 },
64 'includes': [ 'build/package_app.gypi' ],
65 },
66 {
67 # GN version: //mojo/examples/sample_app
68 'target_name': 'mojo_sample_app',
69 'type': 'loadable_module',
70 'dependencies': [
71 '../base/base.gyp:base',
72 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
73 'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
74 'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings' ,
75 'public/mojo_public.gyp:mojo_application_standalone',
76 'public/mojo_public.gyp:mojo_cpp_bindings',
77 'public/mojo_public.gyp:mojo_utility',
78 '<(mojo_system_for_loadable_module)',
79 ],
80 'includes': [
81 'mojo_public_gles2_for_loadable_module.gypi',
82 ],
83 'sources': [
84 'examples/sample_app/gles2_client_impl.cc',
85 'examples/sample_app/gles2_client_impl.h',
86 'examples/sample_app/sample_app.cc',
87 'examples/sample_app/spinning_cube.cc',
88 'examples/sample_app/spinning_cube.h',
89 ],
90 },
91 {
92 'target_name': 'package_mojo_sample_app',
93 'variables': {
94 'app_name': 'mojo_sample_app',
95 },
96 'includes': [ 'build/package_app.gypi' ],
97 },
98 {
99 # GN version: //mojo/examples/apptest:bindings
100 'target_name': 'mojo_example_service_bindings',
101 'type': 'static_library',
102 'sources': [
103 'examples/apptest/example_service.mojom',
104 ],
105 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
106 'export_dependent_settings': [
107 'public/mojo_public.gyp:mojo_cpp_bindings',
108 ],
109 'dependencies': [
110 'public/mojo_public.gyp:mojo_cpp_bindings',
111 ],
112 },
113 {
114 # GN version: //mojo/examples/apptest:service
115 'target_name': 'mojo_example_service',
116 'type': 'loadable_module',
117 'dependencies': [
118 'mojo_example_service_bindings',
119 'public/mojo_public.gyp:mojo_application_standalone', # For ApplicationD elegate.
120 'public/mojo_public.gyp:mojo_cpp_bindings', # For *.mojom.h
121 'public/mojo_public.gyp:mojo_utility', # For RunLoop.
122 '<(mojo_system_for_loadable_module)',
123 ],
124 'sources': [
125 'examples/apptest/example_service_application.cc',
126 'examples/apptest/example_service_application.h',
127 'examples/apptest/example_service_impl.cc',
128 'examples/apptest/example_service_impl.h',
129 ],
130 },
131 {
132 # GN version: //mojo/examples/apptest:apptests
133 'target_name': 'mojo_example_apptests',
134 'type': 'loadable_module',
135 'dependencies': [
136 '../testing/gtest.gyp:gtest',
137 'mojo_example_service',
138 'mojo_example_service_bindings',
139 'public/mojo_public.gyp:mojo_application_standalone', # For ApplicationD elegate.
140 'public/mojo_public.gyp:mojo_utility', # For RunLoop.
141 '<(mojo_system_for_loadable_module)',
142 ],
143 'sources': [
144 'examples/apptest/example_apptest.cc',
145 'examples/apptest/example_client_application.cc',
146 'examples/apptest/example_client_application.h',
147 'examples/apptest/example_client_impl.cc',
148 'examples/apptest/example_client_impl.h',
149 ],
150 },
151 {
152 'target_name': 'package_mojo_example_apptests',
153 'variables': {
154 'app_name': 'mojo_example_apptests',
155 },
156 'includes': [ 'build/package_app.gypi' ],
157 },
158 {
159 # GN version: //mojo/examples/http_server
160 'target_name': 'mojo_http_server',
161 'type': 'loadable_module',
162 'dependencies': [
163 '../base/base.gyp:base',
164 'public/mojo_public.gyp:mojo_application_standalone',
165 'public/mojo_public.gyp:mojo_cpp_bindings',
166 'public/mojo_public.gyp:mojo_utility',
167 'services/public/mojo_services_public.gyp:mojo_network_bindings',
168 '<(mojo_system_for_loadable_module)',
169 ],
170 'sources': [
171 'examples/http_server/http_server.cc',
172 ],
173 },
174 {
175 # GN version: //mojo/examples/wget
176 'target_name': 'mojo_wget',
177 'type': 'loadable_module',
178 'dependencies': [
179 'services/public/mojo_services_public.gyp:mojo_network_bindings',
180 'public/mojo_public.gyp:mojo_application_standalone', # For ApplicationD elegate.
181 'public/mojo_public.gyp:mojo_cpp_bindings',
182 'public/mojo_public.gyp:mojo_utility',
183 '<(mojo_system_for_loadable_module)',
184 ],
185 'sources': [
186 'examples/wget/wget.cc',
187 ],
188 },
189 {
190 # GN version: //mojo/examples/content_handler_demo
191 'target_name': 'mojo_content_handler_demo',
192 'type': 'loadable_module',
193 'dependencies': [
194 'services/public/mojo_services_public.gyp:mojo_content_handler_bindings' ,
195 'public/mojo_public.gyp:mojo_application_standalone', # For ApplicationD elegate.
196 'public/mojo_public.gyp:mojo_cpp_bindings',
197 'public/mojo_public.gyp:mojo_utility',
198 '<(mojo_system_for_loadable_module)',
199 ],
200 'sources': [
201 'examples/content_handler_demo/content_handler_demo.cc',
202 ],
203 },
204 {
205 'target_name': 'package_mojo_wget',
206 'variables': {
207 'app_name': 'mojo_wget',
208 },
209 'includes': [ 'build/package_app.gypi' ],
210 },
211 {
212 # GN version: //mojo/examples/media_viewer:bindings
213 'target_name': 'mojo_media_viewer_bindings',
214 'type': 'static_library',
215 'sources': [
216 'examples/media_viewer/media_viewer.mojom',
217 ],
218 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
219 'export_dependent_settings': [
220 'public/mojo_public.gyp:mojo_cpp_bindings',
221 ],
222 'dependencies': [
223 'public/mojo_public.gyp:mojo_cpp_bindings',
224 ],
225 },
226 {
227 # GN version: //mojo/examples/png_viewer
228 'target_name': 'mojo_png_viewer',
229 'type': 'loadable_module',
230 'dependencies': [
231 '../skia/skia.gyp:skia',
232 '../ui/gfx/gfx.gyp:gfx',
233 'mojo_base.gyp:mojo_application_chromium',
234 'mojo_bitmap_uploader',
235 'mojo_media_viewer_bindings',
236 'services/public/mojo_services_public.gyp:mojo_content_handler_bindings' ,
237 'services/public/mojo_services_public.gyp:mojo_network_bindings',
238 'mojo_view_manager_lib',
239 'public/mojo_public.gyp:mojo_cpp_bindings',
240 'public/mojo_public.gyp:mojo_utility',
241 '<(mojo_system_for_loadable_module)',
242 ],
243 'sources': [
244 'examples/png_viewer/png_viewer.cc',
245 ],
246 },
247 {
248 # GN version: //mojo/examples/pepper_container_app
249 'target_name': 'mojo_pepper_container_app',
250 'type': 'loadable_module',
251 'dependencies': [
252 '../base/base.gyp:base',
253 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
254 '../gpu/gpu.gyp:command_buffer_common',
255 '../ppapi/ppapi.gyp:ppapi_c',
256 '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
257 '../ui/events/events.gyp:events_base',
258 'mojo_base.gyp:mojo_application_chromium',
259 'mojo_base.gyp:mojo_common_lib',
260 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
261 'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
262 'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings' ,
263 '<(mojo_system_for_loadable_module)',
264 ],
265 'includes': [
266 'mojo_public_gles2_for_loadable_module.gypi',
267 ],
268 'defines': [
269 # We don't really want to export. We could change how
270 # ppapi_{shared,thunk}_export.h are defined to avoid this.
271 'PPAPI_SHARED_IMPLEMENTATION',
272 'PPAPI_THUNK_IMPLEMENTATION',
273 ],
274 'sources': [
275 # Source files from ppapi/.
276 # An alternative is to depend on
277 # '../ppapi/ppapi_internal.gyp:ppapi_shared', but that target includes
278 # a lot of things that we don't need.
279 # TODO(yzshen): Consider extracting these files into a separate target
280 # which mojo_pepper_container_app and ppapi_shared both depend on.
281 '../ppapi/shared_impl/api_id.h',
282 '../ppapi/shared_impl/callback_tracker.cc',
283 '../ppapi/shared_impl/callback_tracker.h',
284 '../ppapi/shared_impl/host_resource.cc',
285 '../ppapi/shared_impl/host_resource.h',
286 '../ppapi/shared_impl/id_assignment.cc',
287 '../ppapi/shared_impl/id_assignment.h',
288 '../ppapi/shared_impl/ppapi_globals.cc',
289 '../ppapi/shared_impl/ppapi_globals.h',
290 '../ppapi/shared_impl/ppapi_shared_export.h',
291 '../ppapi/shared_impl/ppb_message_loop_shared.cc',
292 '../ppapi/shared_impl/ppb_message_loop_shared.h',
293 '../ppapi/shared_impl/ppb_view_shared.cc',
294 '../ppapi/shared_impl/ppb_view_shared.h',
295 '../ppapi/shared_impl/proxy_lock.cc',
296 '../ppapi/shared_impl/proxy_lock.h',
297 '../ppapi/shared_impl/resource.cc',
298 '../ppapi/shared_impl/resource.h',
299 '../ppapi/shared_impl/resource_tracker.cc',
300 '../ppapi/shared_impl/resource_tracker.h',
301 '../ppapi/shared_impl/scoped_pp_resource.cc',
302 '../ppapi/shared_impl/scoped_pp_resource.h',
303 '../ppapi/shared_impl/singleton_resource_id.h',
304 '../ppapi/shared_impl/tracked_callback.cc',
305 '../ppapi/shared_impl/tracked_callback.h',
306 '../ppapi/thunk/enter.cc',
307 '../ppapi/thunk/enter.h',
308 '../ppapi/thunk/interfaces_ppb_private.h',
309 '../ppapi/thunk/interfaces_ppb_private_flash.h',
310 '../ppapi/thunk/interfaces_ppb_private_no_permissions.h',
311 '../ppapi/thunk/interfaces_ppb_public_dev.h',
312 '../ppapi/thunk/interfaces_ppb_public_dev_channel.h',
313 '../ppapi/thunk/interfaces_ppb_public_stable.h',
314 '../ppapi/thunk/interfaces_preamble.h',
315 '../ppapi/thunk/ppapi_thunk_export.h',
316 '../ppapi/thunk/ppb_graphics_3d_api.h',
317 '../ppapi/thunk/ppb_graphics_3d_thunk.cc',
318 '../ppapi/thunk/ppb_instance_api.h',
319 '../ppapi/thunk/ppb_instance_thunk.cc',
320 '../ppapi/thunk/ppb_message_loop_api.h',
321 '../ppapi/thunk/ppb_view_api.h',
322 '../ppapi/thunk/ppb_view_thunk.cc',
323 '../ppapi/thunk/resource_creation_api.h',
324 '../ppapi/thunk/thunk.h',
325
326 'examples/pepper_container_app/graphics_3d_resource.cc',
327 'examples/pepper_container_app/graphics_3d_resource.h',
328 'examples/pepper_container_app/interface_list.cc',
329 'examples/pepper_container_app/interface_list.h',
330 'examples/pepper_container_app/mojo_ppapi_globals.cc',
331 'examples/pepper_container_app/mojo_ppapi_globals.h',
332 'examples/pepper_container_app/pepper_container_app.cc',
333 'examples/pepper_container_app/plugin_instance.cc',
334 'examples/pepper_container_app/plugin_instance.h',
335 'examples/pepper_container_app/plugin_module.cc',
336 'examples/pepper_container_app/plugin_module.h',
337 'examples/pepper_container_app/ppb_core_thunk.cc',
338 'examples/pepper_container_app/ppb_opengles2_thunk.cc',
339 'examples/pepper_container_app/resource_creation_impl.cc',
340 'examples/pepper_container_app/resource_creation_impl.h',
341 'examples/pepper_container_app/thunk.h',
342 'examples/pepper_container_app/type_converters.h',
343 ],
344 },
345 {
346 # GN version: //mojo/examples/surfaces_app:parent_app
347 'target_name': 'mojo_surfaces_app',
348 'type': 'loadable_module',
349 'dependencies': [
350 '../base/base.gyp:base',
351 '../cc/cc.gyp:cc',
352 '../cc/cc.gyp:cc_surfaces',
353 '../skia/skia.gyp:skia',
354 '../ui/gfx/gfx.gyp:gfx',
355 '../ui/gfx/gfx.gyp:gfx_geometry',
356 'mojo_base.gyp:mojo_application_chromium',
357 'mojo_base.gyp:mojo_common_lib',
358 'mojo_geometry_lib',
359 'mojo_surfaces_app_bindings',
360 'mojo_surfaces_lib',
361 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
362 'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
363 'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings' ,
364 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
365 'public/mojo_public.gyp:mojo_cpp_bindings',
366 '<(mojo_system_for_loadable_module)',
367 ],
368 'sources': [
369 'examples/surfaces_app/embedder.cc',
370 'examples/surfaces_app/embedder.h',
371 'examples/surfaces_app/surfaces_app.cc',
372 'examples/surfaces_app/surfaces_util.cc',
373 'examples/surfaces_app/surfaces_util.h',
374 ],
375 },
376 {
377 # GN version: //mojo/examples/surfaces_app:bindings
378 'target_name': 'mojo_surfaces_app_bindings',
379 'type': 'static_library',
380 'sources': [
381 'examples/surfaces_app/child.mojom',
382 ],
383 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
384 'export_dependent_settings': [
385 'public/mojo_public.gyp:mojo_cpp_bindings',
386 ],
387 'dependencies': [
388 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
389 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
390 'public/mojo_public.gyp:mojo_cpp_bindings',
391 ],
392 },
393 {
394 'target_name': 'package_mojo_surfaces_app',
395 'variables': {
396 'app_name': 'mojo_surfaces_app',
397 },
398 'includes': [ 'build/package_app.gypi' ],
399 },
400 {
401 # GN version: //mojo/examples/surfaces_app:child_app
402 'target_name': 'mojo_surfaces_child_app',
403 'type': 'loadable_module',
404 'dependencies': [
405 '../base/base.gyp:base',
406 '../cc/cc.gyp:cc',
407 '../cc/cc.gyp:cc_surfaces',
408 '../skia/skia.gyp:skia',
409 '../ui/gfx/gfx.gyp:gfx',
410 '../ui/gfx/gfx.gyp:gfx_geometry',
411 'mojo_base.gyp:mojo_application_chromium',
412 'mojo_base.gyp:mojo_common_lib',
413 'mojo_geometry_lib',
414 'mojo_surfaces_app_bindings',
415 'mojo_surfaces_lib',
416 'services/public/mojo_services_public.gyp:mojo_surface_id_bindings',
417 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
418 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
419 'public/mojo_public.gyp:mojo_cpp_bindings',
420 '<(mojo_system_for_loadable_module)',
421 ],
422 'sources': [
423 'examples/surfaces_app/child_app.cc',
424 'examples/surfaces_app/child_impl.cc',
425 'examples/surfaces_app/child_impl.h',
426 'examples/surfaces_app/surfaces_util.cc',
427 'examples/surfaces_app/surfaces_util.h',
428 ],
429 },
430 {
431 # GN version: //mojo/examples/surfaces_app:child_gl_app
432 'target_name': 'mojo_surfaces_child_gl_app',
433 'type': 'loadable_module',
434 'dependencies': [
435 '../base/base.gyp:base',
436 '../cc/cc.gyp:cc',
437 '../cc/cc.gyp:cc_surfaces',
438 '../gpu/gpu.gyp:gpu',
439 '../skia/skia.gyp:skia',
440 '../ui/gfx/gfx.gyp:gfx',
441 '../ui/gfx/gfx.gyp:gfx_geometry',
442 'mojo_base.gyp:mojo_application_chromium',
443 'mojo_base.gyp:mojo_common_lib',
444 'mojo_geometry_lib',
445 'mojo_surfaces_app_bindings',
446 'mojo_surfaces_lib',
447 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
448 'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
449 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
450 'public/mojo_public.gyp:mojo_cpp_bindings',
451 '<(mojo_system_for_loadable_module)',
452 ],
453 'includes': [
454 'mojo_public_gles2_for_loadable_module.gypi',
455 ],
456 'sources': [
457 'examples/surfaces_app/child_gl_app.cc',
458 'examples/surfaces_app/child_gl_impl.cc',
459 'examples/surfaces_app/child_gl_impl.h',
460 'examples/surfaces_app/surfaces_util.cc',
461 'examples/surfaces_app/surfaces_util.h',
462 'examples/sample_app/spinning_cube.cc',
463 'examples/sample_app/spinning_cube.h',
464 ],
465 },
466 {
467 # GN version: //mojo/examples/bitmap_uploader
468 'target_name': 'mojo_bitmap_uploader',
469 'type': 'static_library',
470 'dependencies': [
471 '../base/base.gyp:base',
472 '../cc/cc.gyp:cc_surfaces',
473 '../gpu/gpu.gyp:gpu',
474 '../skia/skia.gyp:skia',
475 '../ui/gfx/gfx.gyp:gfx',
476 '../ui/gfx/gfx.gyp:gfx_geometry',
477 '../third_party/khronos/khronos.gyp:khronos_headers',
478 'mojo_base.gyp:mojo_application_chromium',
479 'mojo_geometry_lib',
480 'mojo_surfaces_lib',
481 'public/mojo_public.gyp:mojo_application_bindings',
482 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
483 'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
484 'services/public/mojo_services_public.gyp:mojo_surface_id_bindings',
485 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
486 'services/public/mojo_services_public.gyp:mojo_view_manager_bindings',
487 ],
488 'includes': [
489 'mojo_public_gles2_for_loadable_module.gypi',
490 ],
491 'sources': [
492 'examples/bitmap_uploader/bitmap_uploader.cc',
493 'examples/bitmap_uploader/bitmap_uploader.h',
494 ],
495 'export_dependent_settings': [
496 'services/public/mojo_services_public.gyp:mojo_gpu_bindings',
497 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings',
498 'services/public/mojo_services_public.gyp:mojo_view_manager_bindings',
499 ],
500 },
501 ],
502 'conditions': [
503 ['use_aura==1', {
504 'targets': [
505 {
506 # GN version: //mojo/examples/aura_demo:mojo_aura_demo
507 'target_name': 'mojo_aura_demo',
508 'type': 'loadable_module',
509 'dependencies': [
510 '../base/base.gyp:base',
511 '../cc/cc.gyp:cc',
512 '../ui/aura/aura.gyp:aura',
513 '../ui/base/ui_base.gyp:ui_base',
514 '../ui/compositor/compositor.gyp:compositor',
515 '../ui/gfx/gfx.gyp:gfx',
516 '../ui/gfx/gfx.gyp:gfx_geometry',
517 'mojo_aura_support',
518 'mojo_base.gyp:mojo_application_chromium',
519 'mojo_base.gyp:mojo_common_lib',
520 'mojo_geometry_lib',
521 'mojo_view_manager_lib',
522 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
523 '<(mojo_system_for_loadable_module)',
524 ],
525 'sources': [
526 'examples/aura_demo/aura_demo.cc',
527 ],
528 },
529 {
530 # GN version: //mojo/examples/aura_demo:init
531 'target_name': 'mojo_aura_demo_init',
532 'type': 'loadable_module',
533 'dependencies': [
534 '../base/base.gyp:base',
535 'mojo_base.gyp:mojo_application_chromium',
536 'services/public/mojo_services_public.gyp:mojo_view_manager_bindings ',
537 'mojo_view_manager_lib',
538 '<(mojo_system_for_loadable_module)',
539 ],
540 'sources': [
541 'examples/aura_demo/view_manager_init.cc',
542 ],
543 },
544 {
545 # GN version: //mojo/examples/browser
546 'target_name': 'mojo_browser',
547 'type': 'loadable_module',
548 'dependencies': [
549 '../base/base.gyp:base',
550 '../cc/cc.gyp:cc',
551 '../third_party/icu/icu.gyp:icui18n',
552 '../third_party/icu/icu.gyp:icuuc',
553 '../ui/aura/aura.gyp:aura',
554 '../ui/base/ui_base.gyp:ui_base',
555 '../ui/compositor/compositor.gyp:compositor',
556 '../ui/gfx/gfx.gyp:gfx',
557 '../ui/gfx/gfx.gyp:gfx_geometry',
558 '../ui/resources/ui_resources.gyp:ui_resources',
559 '../ui/resources/ui_resources.gyp:ui_test_pak',
560 '../ui/views/views.gyp:views',
561 '../url/url.gyp:url_lib',
562 'mojo_aura_support',
563 'mojo_base.gyp:mojo_application_chromium',
564 'mojo_base.gyp:mojo_common_lib',
565 'mojo_geometry_lib',
566 'mojo_input_events_lib',
567 'mojo_view_manager_lib',
568 'mojo_views_support',
569 'mojo_window_manager_bindings',
570 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
571 'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
572 'services/public/mojo_services_public.gyp:mojo_view_manager_bindings ',
573 '<(mojo_system_for_loadable_module)',
574 ],
575 'sources': [
576 'examples/browser/browser.cc',
577 ],
578 },
579 {
580 'target_name': 'package_mojo_aura_demo',
581 'variables': {
582 'app_name': 'mojo_aura_demo',
583 },
584 'includes': [ 'build/package_app.gypi' ],
585 },
586 {
587 # GYP version: //mojo/examples/demo_launcher
588 'target_name': 'mojo_demo_launcher',
589 'type': 'loadable_module',
590 'dependencies': [
591 '../base/base.gyp:base',
592 '../skia/skia.gyp:skia',
593 '../ui/gfx/gfx.gyp:gfx',
594 '../ui/gfx/gfx.gyp:gfx_geometry',
595 'mojo_base.gyp:mojo_application_chromium',
596 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
597 'services/public/mojo_services_public.gyp:mojo_view_manager_bindings ',
598 'mojo_view_manager_lib',
599 'public/mojo_public.gyp:mojo_cpp_bindings',
600 'public/mojo_public.gyp:mojo_utility',
601 '<(mojo_system_for_loadable_module)',
602 ],
603 'includes': [
604 'mojo_public_gles2_for_loadable_module.gypi',
605 ],
606 'sources': [
607 'examples/demo_launcher/demo_launcher.cc',
608 ],
609 },
610 {
611 # GYP version: //mojo/examples/keyboard
612 'target_name': 'mojo_keyboard',
613 'type': 'loadable_module',
614 'dependencies': [
615 '../base/base.gyp:base',
616 '../cc/cc.gyp:cc',
617 '../third_party/icu/icu.gyp:icui18n',
618 '../third_party/icu/icu.gyp:icuuc',
619 '../ui/aura/aura.gyp:aura',
620 '../ui/base/ui_base.gyp:ui_base',
621 '../ui/compositor/compositor.gyp:compositor',
622 '../ui/gfx/gfx.gyp:gfx',
623 '../ui/gfx/gfx.gyp:gfx_geometry',
624 '../ui/resources/ui_resources.gyp:ui_resources',
625 '../ui/resources/ui_resources.gyp:ui_test_pak',
626 '../ui/views/views.gyp:views',
627 '../url/url.gyp:url_lib',
628 'mojo_aura_support',
629 'mojo_base.gyp:mojo_application_chromium',
630 'mojo_base.gyp:mojo_common_lib',
631 'mojo_geometry_lib',
632 'mojo_input_events_lib',
633 'mojo_keyboard_bindings',
634 'mojo_view_manager_lib',
635 'mojo_views_support',
636 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
637 'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
638 'services/public/mojo_services_public.gyp:mojo_view_manager_bindings ',
639 '<(mojo_system_for_loadable_module)',
640 ],
641 'sources': [
642 'examples/keyboard/keyboard_delegate.h',
643 'examples/keyboard/keyboard_view.cc',
644 'examples/keyboard/keyboard_view.h',
645 'examples/keyboard/keyboard.cc',
646 'examples/keyboard/keys.cc',
647 'examples/keyboard/keys.h',
648 ],
649 },
650 {
651 # GYP version: //mojo/examples/keyboard:bindings
652 'target_name': 'mojo_keyboard_bindings',
653 'type': 'static_library',
654 'sources': [
655 'examples/keyboard/keyboard.mojom',
656 ],
657 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
658 'export_dependent_settings': [
659 'public/mojo_public.gyp:mojo_cpp_bindings',
660 ],
661 'dependencies': [
662 'public/mojo_public.gyp:mojo_cpp_bindings',
663 ],
664 },
665 {
666 # GN version: //mojo/examples/window_manager:bindings
667 'target_name': 'mojo_window_manager_bindings',
668 'type': 'static_library',
669 'sources': [
670 'examples/window_manager/window_manager.mojom',
671 ],
672 'dependencies': [
673 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
674 'public/mojo_public.gyp:mojo_cpp_bindings',
675 ],
676 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
677 'export_dependent_settings': [
678 'public/mojo_public.gyp:mojo_cpp_bindings',
679 ],
680 },
681 {
682 # GN version: //mojo/examples/window_manager
683 'target_name': 'mojo_window_manager',
684 'type': 'loadable_module',
685 'dependencies': [
686 '../base/base.gyp:base',
687 '../ui/aura/aura.gyp:aura',
688 '../ui/base/ui_base.gyp:ui_base',
689 '../ui/gfx/gfx.gyp:gfx',
690 '../ui/gfx/gfx.gyp:gfx_geometry',
691 '../ui/resources/ui_resources.gyp:ui_resources',
692 '../ui/resources/ui_resources.gyp:ui_test_pak',
693 '../ui/views/views.gyp:views',
694 '../ui/wm/wm.gyp:wm',
695 'mojo_aura_support',
696 'mojo_base.gyp:mojo_application_chromium',
697 'mojo_core_window_manager_lib',
698 'mojo_geometry_lib',
699 'mojo_input_events_lib',
700 'mojo_keyboard_bindings',
701 'mojo_view_manager_lib',
702 'mojo_views_support',
703 'mojo_window_manager_bindings',
704 'public/mojo_public.gyp:mojo_cpp_bindings',
705 'public/mojo_public.gyp:mojo_utility',
706 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
707 'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
708 '<(mojo_system_for_loadable_module)',
709 ],
710 'includes': [
711 'mojo_public_gles2_for_loadable_module.gypi',
712 ],
713 'sources': [
714 'examples/window_manager/debug_panel.h',
715 'examples/window_manager/debug_panel.cc',
716 'examples/window_manager/window_manager.cc',
717 ],
718 },
719 {
720 # GN version: //mojo/examples/embedded_app
721 'target_name': 'mojo_embedded_app',
722 'type': 'loadable_module',
723 'dependencies': [
724 '../base/base.gyp:base',
725 '../ui/gfx/gfx.gyp:gfx_geometry',
726 '../url/url.gyp:url_lib',
727 'mojo_base.gyp:mojo_application_chromium',
728 'mojo_bitmap_uploader',
729 'mojo_view_manager_lib',
730 'mojo_window_manager_bindings',
731 'public/mojo_public.gyp:mojo_cpp_bindings',
732 'public/mojo_public.gyp:mojo_utility',
733 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
734 'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
735 '<(mojo_system_for_loadable_module)',
736 ],
737 'includes': [
738 'mojo_public_gles2_for_loadable_module.gypi',
739 ],
740 'sources': [
741 'examples/embedded_app/embedded_app.cc',
742 ],
743 },
744 {
745 # GN version: //mojo/examples/nesting_app
746 'target_name': 'mojo_nesting_app',
747 'type': 'loadable_module',
748 'dependencies': [
749 '../base/base.gyp:base',
750 '../ui/gfx/gfx.gyp:gfx_geometry',
751 '../url/url.gyp:url_lib',
752 'mojo_base.gyp:mojo_application_chromium',
753 'mojo_bitmap_uploader',
754 'mojo_view_manager_lib',
755 'mojo_window_manager_bindings',
756 'public/mojo_public.gyp:mojo_cpp_bindings',
757 'public/mojo_public.gyp:mojo_utility',
758 'services/public/mojo_services_public.gyp:mojo_geometry_bindings',
759 'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
760 '<(mojo_system_for_loadable_module)',
761 ],
762 'includes': [
763 'mojo_public_gles2_for_loadable_module.gypi',
764 ],
765 'sources': [
766 'examples/nesting_app/nesting_app.cc',
767 ],
768 },
769 {
770 # GN version: //mojo/examples/media_viewer
771 'target_name': 'mojo_media_viewer',
772 'type': 'loadable_module',
773 'dependencies': [
774 '../base/base.gyp:base',
775 '../skia/skia.gyp:skia',
776 '../ui/gfx/gfx.gyp:gfx',
777 '../ui/gfx/gfx.gyp:gfx_geometry',
778 '../ui/views/views.gyp:views',
779 'mojo_base.gyp:mojo_application_chromium',
780 'mojo_input_events_lib',
781 'mojo_media_viewer_bindings',
782 'mojo_view_manager_lib',
783 'mojo_views_support',
784 'services/public/mojo_services_public.gyp:mojo_navigation_bindings',
785 'services/public/mojo_services_public.gyp:mojo_view_manager_bindings ',
786 '<(mojo_system_for_loadable_module)',
787 ],
788 'sources': [
789 'examples/media_viewer/media_viewer.cc',
790 ],
791 },
792 {
793 # GN version: //mojo/examples/wm_flow
794 'target_name': 'mojo_wm_flow_wm',
795 'type': 'loadable_module',
796 'dependencies': [
797 '../base/base.gyp:base',
798 '../skia/skia.gyp:skia',
799 '../ui/views/views.gyp:views',
800 'mojo_base.gyp:mojo_application_chromium',
801 'mojo_core_window_manager_lib',
802 'mojo_view_manager_lib',
803 'mojo_views_support',
804 '<(mojo_system_for_loadable_module)',
805 ],
806 'sources': [
807 'examples/wm_flow/wm/frame_controller.cc',
808 'examples/wm_flow/wm/frame_controller.h',
809 'examples/wm_flow/wm/wm.cc',
810 ],
811 },
812 {
813 # GN version: //mojo/examples/wm_flow:init
814 'target_name': 'mojo_wm_flow_init',
815 'type': 'loadable_module',
816 'dependencies': [
817 '../base/base.gyp:base',
818 'mojo_base.gyp:mojo_application_chromium',
819 'services/public/mojo_services_public.gyp:mojo_view_manager_bindings ',
820 'mojo_view_manager_lib',
821 '<(mojo_system_for_loadable_module)',
822 ],
823 'sources': [
824 'examples/wm_flow/init/init.cc',
825 ],
826 },
827 {
828 # GN version: //mojo/examples/wm_flow:embedder_bindings
829 'target_name': 'mojo_wm_flow_embedder_bindings',
830 'type': 'static_library',
831 'sources': [
832 'examples/wm_flow/app/embedder.mojom',
833 ],
834 'dependencies': [
835 'public/mojo_public.gyp:mojo_cpp_bindings',
836 ],
837 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
838 'export_dependent_settings': [
839 'public/mojo_public.gyp:mojo_cpp_bindings',
840 ],
841 },
842 {
843 # GN version: //mojo/examples/wm_flow:embeddee_bindings
844 'target_name': 'mojo_wm_flow_embeddee_bindings',
845 'type': 'static_library',
846 'sources': [
847 'examples/wm_flow/embedded/embeddee.mojom',
848 ],
849 'dependencies': [
850 'public/mojo_public.gyp:mojo_cpp_bindings',
851 ],
852 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
853 'export_dependent_settings': [
854 'public/mojo_public.gyp:mojo_cpp_bindings',
855 ],
856 },
857 {
858 # GN version: //mojo/examples/wm_flow:app
859 'target_name': 'mojo_wm_flow_app',
860 'type': 'loadable_module',
861 'dependencies': [
862 '../base/base.gyp:base',
863 'mojo_base.gyp:mojo_application_chromium',
864 'mojo_bitmap_uploader',
865 'mojo_view_manager_lib',
866 'mojo_wm_flow_embeddee_bindings',
867 'mojo_wm_flow_embedder_bindings',
868 'services/public/mojo_services_public.gyp:mojo_core_window_manager_b indings',
869 '<(mojo_system_for_loadable_module)',
870 ],
871 'sources': [
872 'examples/wm_flow/app/app.cc',
873 ],
874 },
875 {
876 # GN version: //mojo/examples/wm_flow:embedded
877 'target_name': 'mojo_wm_flow_embedded',
878 'type': 'loadable_module',
879 'dependencies': [
880 '../base/base.gyp:base',
881 'mojo_base.gyp:mojo_application_chromium',
882 'mojo_bitmap_uploader',
883 'mojo_view_manager_lib',
884 'mojo_wm_flow_embeddee_bindings',
885 'mojo_wm_flow_embedder_bindings',
886 'services/public/mojo_services_public.gyp:mojo_core_window_manager_b indings',
887 '<(mojo_system_for_loadable_module)',
888 ],
889 'sources': [
890 'examples/wm_flow/embedded/embedded.cc',
891 ],
892 },
893 ],
894 }],
895 ],
896 }
OLDNEW
« no previous file with comments | « mojo/mojo.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698