OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['mojo_shell_debug_url != ""', { | 8 ['mojo_shell_debug_url != ""', { |
9 'defines': [ | 9 'defines': [ |
10 'MOJO_SHELL_DEBUG=1', | 10 'MOJO_SHELL_DEBUG=1', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 'mojo_surfaces_child_app', | 55 'mojo_surfaces_child_app', |
56 'mojo_surfaces_child_gl_app', | 56 'mojo_surfaces_child_gl_app', |
57 'mojo_surfaces_lib', | 57 'mojo_surfaces_lib', |
58 'mojo_surfaces_lib_unittests', | 58 'mojo_surfaces_lib_unittests', |
59 'mojo_surfaces_service', | 59 'mojo_surfaces_service', |
60 'mojo_test_app', | 60 'mojo_test_app', |
61 'mojo_test_request_tracker_app', | 61 'mojo_test_request_tracker_app', |
62 'mojo_view_manager_lib', | 62 'mojo_view_manager_lib', |
63 'mojo_view_manager_lib_unittests', | 63 'mojo_view_manager_lib_unittests', |
64 'mojo_wget', | 64 'mojo_wget', |
| 65 'public/mojo_public.gyp:mojo_public', |
65 ], | 66 ], |
66 'conditions': [ | 67 'conditions': [ |
67 ['use_aura==1', { | 68 ['use_aura==1', { |
68 'dependencies': [ | 69 'dependencies': [ |
69 'mojo_aura_demo', | 70 'mojo_aura_demo', |
70 'mojo_aura_demo_init', | 71 'mojo_aura_demo_init', |
71 'mojo_browser', | 72 'mojo_browser', |
72 'mojo_core_window_manager', | 73 'mojo_core_window_manager', |
73 'mojo_core_window_manager_unittests', | 74 'mojo_core_window_manager_unittests', |
74 'mojo_demo_launcher', | 75 'mojo_demo_launcher', |
(...skipping 27 matching lines...) Expand all Loading... |
102 }, | 103 }, |
103 { | 104 { |
104 # GN version: //mojo/shell:external_service_bindings | 105 # GN version: //mojo/shell:external_service_bindings |
105 'target_name': 'mojo_external_service_bindings', | 106 'target_name': 'mojo_external_service_bindings', |
106 'type': 'static_library', | 107 'type': 'static_library', |
107 'sources': [ | 108 'sources': [ |
108 'shell/external_service.mojom', | 109 'shell/external_service.mojom', |
109 ], | 110 ], |
110 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 111 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
111 'export_dependent_settings': [ | 112 'export_dependent_settings': [ |
112 'mojo_base.gyp:mojo_cpp_bindings', | 113 'public/mojo_public.gyp:mojo_cpp_bindings', |
113 ], | 114 ], |
114 'dependencies': [ | 115 'dependencies': [ |
115 'mojo_base.gyp:mojo_cpp_bindings', | 116 'public/mojo_public.gyp:mojo_cpp_bindings', |
116 ], | 117 ], |
117 }, | 118 }, |
118 { | 119 { |
119 # GN version: //mojo/spy | 120 # GN version: //mojo/spy |
120 'target_name': 'mojo_spy', | 121 'target_name': 'mojo_spy', |
121 'type': 'static_library', | 122 'type': 'static_library', |
122 'dependencies': [ | 123 'dependencies': [ |
123 '../base/base.gyp:base', | 124 '../base/base.gyp:base', |
124 '../net/net.gyp:http_server', | 125 '../net/net.gyp:http_server', |
125 '../url/url.gyp:url_lib', | 126 '../url/url.gyp:url_lib', |
(...skipping 16 matching lines...) Expand all Loading... |
142 }, | 143 }, |
143 { | 144 { |
144 # GN version: //mojo/shell:lib | 145 # GN version: //mojo/shell:lib |
145 'target_name': 'mojo_shell_lib', | 146 'target_name': 'mojo_shell_lib', |
146 'type': 'static_library', | 147 'type': 'static_library', |
147 'dependencies': [ | 148 'dependencies': [ |
148 '../base/base.gyp:base', | 149 '../base/base.gyp:base', |
149 '../base/base.gyp:base_static', | 150 '../base/base.gyp:base_static', |
150 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 151 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
151 'mojo_application_manager', | 152 'mojo_application_manager', |
152 'mojo_base.gyp:mojo_application_bindings', | 153 'mojo_base.gyp:mojo_application_chromium', |
153 'mojo_base.gyp:mojo_common_lib', | 154 'mojo_base.gyp:mojo_common_lib', |
154 'mojo_base.gyp:mojo_system_impl', | 155 'mojo_base.gyp:mojo_system_impl', |
155 'mojo_base.gyp:mojo_application_chromium', | |
156 'mojo_external_service_bindings', | 156 'mojo_external_service_bindings', |
157 'mojo_gles2_impl', | 157 'mojo_gles2_impl', |
158 'mojo_network_bindings', | 158 'mojo_network_bindings', |
159 'mojo_spy', | 159 'mojo_spy', |
| 160 'public/mojo_public.gyp:mojo_application_bindings', |
160 ], | 161 ], |
161 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 162 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
162 'sources': [ | 163 'sources': [ |
163 'shell/app_child_process.cc', | 164 'shell/app_child_process.cc', |
164 'shell/app_child_process.h', | 165 'shell/app_child_process.h', |
165 'shell/app_child_process.mojom', | 166 'shell/app_child_process.mojom', |
166 'shell/app_child_process_host.cc', | 167 'shell/app_child_process_host.cc', |
167 'shell/app_child_process_host.h', | 168 'shell/app_child_process_host.h', |
168 'shell/child_process.cc', | 169 'shell/child_process.cc', |
169 'shell/child_process.h', | 170 'shell/child_process.h', |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 'type': '<(component)', | 299 'type': '<(component)', |
299 'defines': [ | 300 'defines': [ |
300 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION', | 301 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION', |
301 ], | 302 ], |
302 'dependencies': [ | 303 'dependencies': [ |
303 '../base/base.gyp:base', | 304 '../base/base.gyp:base', |
304 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 305 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
305 '../url/url.gyp:url_lib', | 306 '../url/url.gyp:url_lib', |
306 'mojo_content_handler_bindings', | 307 'mojo_content_handler_bindings', |
307 'mojo_network_bindings', | 308 'mojo_network_bindings', |
308 'mojo_base.gyp:mojo_application_bindings', | |
309 'mojo_base.gyp:mojo_common_lib', | 309 'mojo_base.gyp:mojo_common_lib', |
310 'mojo_base.gyp:mojo_environment_chromium', | 310 'mojo_base.gyp:mojo_environment_chromium', |
| 311 'public/mojo_public.gyp:mojo_application_bindings', |
311 '<(mojo_system_for_component)', | 312 '<(mojo_system_for_component)', |
312 ], | 313 ], |
313 'sources': [ | 314 'sources': [ |
314 'application_manager/application_loader.cc', | 315 'application_manager/application_loader.cc', |
315 'application_manager/application_loader.h', | 316 'application_manager/application_loader.h', |
316 'application_manager/application_manager.cc', | 317 'application_manager/application_manager.cc', |
317 'application_manager/application_manager.h', | 318 'application_manager/application_manager.h', |
318 'application_manager/application_manager_export.h', | 319 'application_manager/application_manager_export.h', |
319 'application_manager/background_shell_application_loader.cc', | 320 'application_manager/background_shell_application_loader.cc', |
320 'application_manager/background_shell_application_loader.h', | 321 'application_manager/background_shell_application_loader.h', |
321 ], | 322 ], |
322 'export_dependent_settings': [ | 323 'export_dependent_settings': [ |
323 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 324 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
324 'mojo_base.gyp:mojo_application_bindings', | 325 'public/mojo_public.gyp:mojo_application_bindings', |
325 'mojo_network_bindings', | 326 'mojo_network_bindings', |
326 ], | 327 ], |
327 }, | 328 }, |
328 { | 329 { |
329 # GN version: //mojo/application_manager:mojo_application_manager_unittest
s | 330 # GN version: //mojo/application_manager:mojo_application_manager_unittest
s |
330 'target_name': 'mojo_application_manager_unittests', | 331 'target_name': 'mojo_application_manager_unittests', |
331 'type': 'executable', | 332 'type': 'executable', |
332 'dependencies': [ | 333 'dependencies': [ |
333 '../base/base.gyp:base', | 334 '../base/base.gyp:base', |
334 '../testing/gtest.gyp:gtest', | 335 '../testing/gtest.gyp:gtest', |
335 '../url/url.gyp:url_lib', | 336 '../url/url.gyp:url_lib', |
336 'mojo_application_manager', | 337 'mojo_application_manager', |
337 'mojo_base.gyp:mojo_common_lib', | 338 'mojo_base.gyp:mojo_common_lib', |
338 'mojo_base.gyp:mojo_cpp_bindings', | 339 'mojo_base.gyp:mojo_application_chromium', |
339 'mojo_base.gyp:mojo_environment_chromium', | 340 'mojo_base.gyp:mojo_environment_chromium', |
340 'mojo_base.gyp:mojo_run_all_unittests', | 341 'mojo_base.gyp:mojo_run_all_unittests', |
341 'mojo_base.gyp:mojo_application_chromium', | 342 'public/mojo_public.gyp:mojo_cpp_bindings', |
342 ], | 343 ], |
343 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 344 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
344 'sources': [ | 345 'sources': [ |
345 'application_manager/application_manager_unittest.cc', | 346 'application_manager/application_manager_unittest.cc', |
346 'application_manager/background_shell_application_loader_unittest.cc', | 347 'application_manager/background_shell_application_loader_unittest.cc', |
347 'application_manager/test.mojom', | 348 'application_manager/test.mojom', |
348 ], | 349 ], |
349 }, | 350 }, |
350 { | 351 { |
351 # GN version: //mojo/cc | 352 # GN version: //mojo/cc |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 'defines': ['MOJO_USE_GLES2_IMPL'], | 419 'defines': ['MOJO_USE_GLES2_IMPL'], |
419 } | 420 } |
420 }, | 421 }, |
421 { | 422 { |
422 # GN version: //mojo/bindings/js/tests:mojo_js_unittests | 423 # GN version: //mojo/bindings/js/tests:mojo_js_unittests |
423 'target_name': 'mojo_js_unittests', | 424 'target_name': 'mojo_js_unittests', |
424 'type': 'executable', | 425 'type': 'executable', |
425 'dependencies': [ | 426 'dependencies': [ |
426 '../gin/gin.gyp:gin_test', | 427 '../gin/gin.gyp:gin_test', |
427 'mojo_base.gyp:mojo_common_test_support', | 428 'mojo_base.gyp:mojo_common_test_support', |
428 'mojo_base.gyp:mojo_environment_standalone', | |
429 'mojo_base.gyp:mojo_js_bindings_lib', | 429 'mojo_base.gyp:mojo_js_bindings_lib', |
430 'mojo_base.gyp:mojo_public_test_interfaces', | |
431 'mojo_base.gyp:mojo_run_all_unittests', | 430 'mojo_base.gyp:mojo_run_all_unittests', |
432 'mojo_base.gyp:mojo_utility', | 431 'public/mojo_public.gyp:mojo_environment_standalone', |
| 432 'public/mojo_public.gyp:mojo_public_test_interfaces', |
| 433 'public/mojo_public.gyp:mojo_utility', |
433 ], | 434 ], |
434 'sources': [ | 435 'sources': [ |
435 'bindings/js/tests/run_js_tests.cc', | 436 'bindings/js/tests/run_js_tests.cc', |
436 ], | 437 ], |
437 }, | 438 }, |
438 ], | 439 ], |
439 'conditions': [ | 440 'conditions': [ |
440 ['OS=="android"', { | 441 ['OS=="android"', { |
441 'targets': [ | 442 'targets': [ |
442 { | 443 { |
443 'target_name': 'mojo_native_viewport_java', | 444 'target_name': 'mojo_native_viewport_java', |
444 'type': 'none', | 445 'type': 'none', |
445 'dependencies': [ | 446 'dependencies': [ |
446 '../base/base.gyp:base_java', | 447 '../base/base.gyp:base_java', |
447 ], | 448 ], |
448 'variables': { | 449 'variables': { |
449 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', | 450 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
450 }, | 451 }, |
451 'includes': [ '../build/java.gypi' ], | 452 'includes': [ '../build/java.gypi' ], |
452 }, | 453 }, |
453 { | 454 { |
454 'target_name': 'libmojo_shell', | 455 'target_name': 'libmojo_shell', |
455 'type': 'shared_library', | 456 'type': 'shared_library', |
456 'dependencies': [ | 457 'dependencies': [ |
457 '../base/base.gyp:base', | 458 '../base/base.gyp:base', |
458 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 459 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
459 '../ui/gfx/gfx.gyp:gfx', | 460 '../ui/gfx/gfx.gyp:gfx', |
460 '../ui/gfx/gfx.gyp:gfx_geometry', | 461 '../ui/gfx/gfx.gyp:gfx_geometry', |
461 '../ui/gl/gl.gyp:gl', | 462 '../ui/gl/gl.gyp:gl', |
462 'mojo_base.gyp:mojo_application_bindings', | |
463 'mojo_base.gyp:mojo_common_lib', | 463 'mojo_base.gyp:mojo_common_lib', |
464 'mojo_base.gyp:mojo_environment_chromium', | 464 'mojo_base.gyp:mojo_environment_chromium', |
465 'mojo_base.gyp:mojo_jni_headers', | 465 'mojo_base.gyp:mojo_jni_headers', |
466 'mojo_shell_lib', | 466 'mojo_shell_lib', |
| 467 'public/mojo_public.gyp:mojo_application_bindings', |
467 ], | 468 ], |
468 'sources': [ | 469 'sources': [ |
469 'shell/android/library_loader.cc', | 470 'shell/android/library_loader.cc', |
470 'shell/android/mojo_main.cc', | 471 'shell/android/mojo_main.cc', |
471 'shell/android/mojo_main.h', | 472 'shell/android/mojo_main.h', |
472 ], | 473 ], |
473 }, | 474 }, |
474 { | 475 { |
475 'target_name': 'mojo_shell_apk', | 476 'target_name': 'mojo_shell_apk', |
476 'type': 'none', | 477 'type': 'none', |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 'python_cython_module': 'system', | 609 'python_cython_module': 'system', |
609 }, | 610 }, |
610 'sources': [ | 611 'sources': [ |
611 'public/python/mojo/c_core.pxd', | 612 'public/python/mojo/c_core.pxd', |
612 'public/python/mojo/c_environment.pxd', | 613 'public/python/mojo/c_environment.pxd', |
613 'public/python/mojo/system.pyx', | 614 'public/python/mojo/system.pyx', |
614 'public/python/src/python_system_helper.cc', | 615 'public/python/src/python_system_helper.cc', |
615 'public/python/src/python_system_helper.h', | 616 'public/python/src/python_system_helper.h', |
616 ], | 617 ], |
617 'dependencies': [ | 618 'dependencies': [ |
618 'mojo_base.gyp:mojo_environment_standalone', | 619 'public/mojo_public.gyp:mojo_environment_standalone', |
619 'mojo_base.gyp:mojo_system', | 620 'public/mojo_public.gyp:mojo_system', |
620 'mojo_base.gyp:mojo_utility', | 621 'public/mojo_public.gyp:mojo_utility', |
621 ], | 622 ], |
622 'includes': [ '../third_party/cython/cython_compiler.gypi' ], | 623 'includes': [ '../third_party/cython/cython_compiler.gypi' ], |
623 }, | 624 }, |
624 { | 625 { |
625 # GN version: //mojo/python:embedder | 626 # GN version: //mojo/python:embedder |
626 'target_name': 'mojo_python_embedder', | 627 'target_name': 'mojo_python_embedder', |
627 'type': 'loadable_module', | 628 'type': 'loadable_module', |
628 'variables': { | 629 'variables': { |
629 'python_base_module': 'mojo', | 630 'python_base_module': 'mojo', |
630 'python_cython_module': 'embedder', | 631 'python_cython_module': 'embedder', |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 }, | 710 }, |
710 ], | 711 ], |
711 }], | 712 }], |
712 ['component!="shared_library" and OS=="linux" and test_isolation_mode!="noop
"', { | 713 ['component!="shared_library" and OS=="linux" and test_isolation_mode!="noop
"', { |
713 'targets': [ | 714 'targets': [ |
714 { | 715 { |
715 'target_name': 'mojo_python_unittests_run', | 716 'target_name': 'mojo_python_unittests_run', |
716 'type': 'none', | 717 'type': 'none', |
717 'dependencies': [ | 718 'dependencies': [ |
718 'mojo_python', | 719 'mojo_python', |
719 'mojo_base.gyp:mojo_public_test_interfaces', | 720 'public/mojo_public.gyp:mojo_public_test_interfaces', |
720 ], | 721 ], |
721 'includes': [ | 722 'includes': [ |
722 '../build/isolate.gypi', | 723 '../build/isolate.gypi', |
723 ], | 724 ], |
724 'sources': [ | 725 'sources': [ |
725 'mojo_python_unittests.isolate', | 726 'mojo_python_unittests.isolate', |
726 ], | 727 ], |
727 }, | 728 }, |
728 ], | 729 ], |
729 }], | 730 }], |
730 ['test_isolation_mode != "noop"', { | 731 ['test_isolation_mode != "noop"', { |
731 'targets': [ | 732 'targets': [ |
732 { | 733 { |
733 'target_name': 'mojo_js_unittests_run', | 734 'target_name': 'mojo_js_unittests_run', |
734 'type': 'none', | 735 'type': 'none', |
735 'dependencies': [ | 736 'dependencies': [ |
736 'mojo_js_unittests', | 737 'mojo_js_unittests', |
737 ], | 738 ], |
738 'includes': [ | 739 'includes': [ |
739 '../build/isolate.gypi', | 740 '../build/isolate.gypi', |
740 ], | 741 ], |
741 'sources': [ | 742 'sources': [ |
742 'mojo_js_unittests.isolate', | 743 'mojo_js_unittests.isolate', |
743 ], | 744 ], |
744 }, | 745 }, |
745 ], | 746 ], |
746 }], | 747 }], |
747 ], | 748 ], |
748 } | 749 } |
OLD | NEW |