OLD | NEW |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //mojo/services/html_viewer | 8 # GN version: //mojo/services/html_viewer |
9 'target_name': 'mojo_html_viewer', | 9 'target_name': 'mojo_html_viewer', |
10 'type': 'loadable_module', | 10 'type': 'loadable_module', |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 'mojo_base.gyp:mojo_cpp_bindings', | 265 'mojo_base.gyp:mojo_cpp_bindings', |
266 'mojo_base.gyp:mojo_gles2_bindings', | 266 'mojo_base.gyp:mojo_gles2_bindings', |
267 'mojo_geometry_bindings', | 267 'mojo_geometry_bindings', |
268 'mojo_input_events_bindings', | 268 'mojo_input_events_bindings', |
269 'mojo_surface_id_bindings', | 269 'mojo_surface_id_bindings', |
270 ], | 270 ], |
271 }, | 271 }, |
272 { | 272 { |
273 # GN version: //mojo/services/native_viewport | 273 # GN version: //mojo/services/native_viewport |
274 'target_name': 'mojo_native_viewport_service_lib', | 274 'target_name': 'mojo_native_viewport_service_lib', |
275 # This is linked directly into the embedder, so we make it a static_librar
y. | |
276 # TODO(davemoore): Make this a true service. | |
277 'type': 'static_library', | 275 'type': 'static_library', |
278 'dependencies': [ | 276 'dependencies': [ |
279 '../base/base.gyp:base', | 277 '../base/base.gyp:base', |
280 '../cc/cc.gyp:cc_surfaces', | 278 '../cc/cc.gyp:cc_surfaces', |
281 '../skia/skia.gyp:skia', | 279 '../skia/skia.gyp:skia', |
282 '../ui/events/events.gyp:events', | 280 '../ui/events/events.gyp:events', |
283 '../ui/gfx/gfx.gyp:gfx', | 281 '../ui/gfx/gfx.gyp:gfx', |
284 '../ui/gfx/gfx.gyp:gfx_geometry', | 282 '../ui/gfx/gfx.gyp:gfx_geometry', |
285 'mojo_base.gyp:mojo_application_chromium', | 283 'mojo_base.gyp:mojo_application_chromium', |
286 'mojo_base.gyp:mojo_common_lib', | 284 'mojo_base.gyp:mojo_common_lib', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 ], | 335 ], |
338 }], | 336 }], |
339 ['use_ozone==1', { | 337 ['use_ozone==1', { |
340 'dependencies': [ | 338 'dependencies': [ |
341 '../ui/ozone/ozone.gyp:ozone', | 339 '../ui/ozone/ozone.gyp:ozone', |
342 ], | 340 ], |
343 }], | 341 }], |
344 ], | 342 ], |
345 }, | 343 }, |
346 { | 344 { |
| 345 'target_name': 'mojo_native_viewport_service', |
| 346 'type': 'loadable_module', |
| 347 'dependencies': [ |
| 348 'mojo_native_viewport_bindings', |
| 349 'mojo_native_viewport_service_lib', |
| 350 '<(mojo_system_for_loadable_module)', |
| 351 ], |
| 352 'export_dependent_settings': [ |
| 353 'mojo_native_viewport_bindings', |
| 354 ], |
| 355 'sources': [ |
| 356 'services/native_viewport/main.cc', |
| 357 ], |
| 358 }, |
| 359 { |
347 # GN version: //mojo/services/public/interfaces/navigation | 360 # GN version: //mojo/services/public/interfaces/navigation |
348 'target_name': 'mojo_navigation_bindings', | 361 'target_name': 'mojo_navigation_bindings', |
349 'type': 'static_library', | 362 'type': 'static_library', |
350 'sources': [ | 363 'sources': [ |
351 'services/public/interfaces/navigation/navigation.mojom', | 364 'services/public/interfaces/navigation/navigation.mojom', |
352 ], | 365 ], |
353 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 366 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
354 'export_dependent_settings': [ | 367 'export_dependent_settings': [ |
355 'mojo_base.gyp:mojo_cpp_bindings', | 368 'mojo_base.gyp:mojo_cpp_bindings', |
356 ], | 369 ], |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 'mojo_base.gyp:mojo_cpp_bindings', | 711 'mojo_base.gyp:mojo_cpp_bindings', |
699 ], | 712 ], |
700 }, | 713 }, |
701 ], | 714 ], |
702 'conditions': [ | 715 'conditions': [ |
703 ['use_aura==1', { | 716 ['use_aura==1', { |
704 'targets': [ | 717 'targets': [ |
705 { | 718 { |
706 # GN version: //mojo/services/view_manager | 719 # GN version: //mojo/services/view_manager |
707 'target_name': 'mojo_view_manager', | 720 'target_name': 'mojo_view_manager', |
708 'type': '<(component)', | 721 'type': 'loadable_module', |
709 'dependencies': [ | 722 'dependencies': [ |
710 '../base/base.gyp:base', | 723 '../base/base.gyp:base', |
711 '../cc/cc.gyp:cc_surfaces', | 724 '../cc/cc.gyp:cc_surfaces', |
712 '../skia/skia.gyp:skia', | 725 '../skia/skia.gyp:skia', |
713 '../ui/base/ui_base.gyp:ui_base', | 726 '../ui/base/ui_base.gyp:ui_base', |
714 '../ui/events/events.gyp:events', | 727 '../ui/events/events.gyp:events', |
715 '../ui/events/events.gyp:events_base', | 728 '../ui/events/events.gyp:events_base', |
716 '../ui/gfx/gfx.gyp:gfx', | 729 '../ui/gfx/gfx.gyp:gfx', |
717 '../ui/gfx/gfx.gyp:gfx_geometry', | 730 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 731 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
| 732 'mojo_base.gyp:mojo_common_lib', |
718 'mojo_base.gyp:mojo_application_chromium', | 733 'mojo_base.gyp:mojo_application_chromium', |
719 'mojo_base.gyp:mojo_common_lib', | 734 'mojo_base.gyp:mojo_common_lib', |
720 'mojo_geometry_bindings', | 735 'mojo_geometry_bindings', |
721 'mojo_geometry_lib', | 736 'mojo_geometry_lib', |
722 'mojo_gpu_bindings', | 737 'mojo_gpu_bindings', |
723 'mojo_input_events_bindings', | 738 'mojo_input_events_bindings', |
724 'mojo_input_events_lib', | 739 'mojo_input_events_lib', |
725 'mojo_native_viewport_bindings', | 740 'mojo_native_viewport_bindings', |
726 'mojo_surfaces_bindings', | 741 'mojo_surfaces_bindings', |
727 'mojo_surfaces_lib', | 742 'mojo_surfaces_lib', |
728 'mojo_view_manager_bindings', | 743 'mojo_view_manager_bindings', |
729 'mojo_view_manager_common', | 744 'mojo_view_manager_common', |
730 '<(mojo_system_for_component)', | 745 'mojo_gpu_bindings', |
| 746 '<(mojo_system_for_loadable_module)', |
731 ], | 747 ], |
732 'sources': [ | 748 'sources': [ |
733 'services/view_manager/access_policy.h', | 749 'services/view_manager/access_policy.h', |
734 'services/view_manager/access_policy_delegate.h', | 750 'services/view_manager/access_policy_delegate.h', |
735 'services/view_manager/connection_manager.cc', | 751 'services/view_manager/connection_manager.cc', |
736 'services/view_manager/connection_manager.h', | 752 'services/view_manager/connection_manager.h', |
737 'services/view_manager/default_access_policy.cc', | 753 'services/view_manager/default_access_policy.cc', |
738 'services/view_manager/default_access_policy.h', | 754 'services/view_manager/default_access_policy.h', |
739 'services/view_manager/display_manager.cc', | 755 'services/view_manager/display_manager.cc', |
740 'services/view_manager/display_manager.h', | 756 'services/view_manager/display_manager.h', |
741 'services/view_manager/ids.h', | 757 'services/view_manager/ids.h', |
742 'services/view_manager/main.cc', | 758 'services/view_manager/main.cc', |
743 'services/view_manager/server_view.cc', | 759 'services/view_manager/server_view.cc', |
744 'services/view_manager/server_view.h', | 760 'services/view_manager/server_view.h', |
745 'services/view_manager/server_view_delegate.h', | 761 'services/view_manager/server_view_delegate.h', |
746 'services/view_manager/view_manager_export.h', | 762 'services/view_manager/view_manager_export.h', |
747 'services/view_manager/view_manager_init_service_context.cc', | 763 'services/view_manager/view_manager_init_service_context.cc', |
748 'services/view_manager/view_manager_init_service_context.h', | 764 'services/view_manager/view_manager_init_service_context.h', |
749 'services/view_manager/view_manager_init_service_impl.cc', | 765 'services/view_manager/view_manager_init_service_impl.cc', |
750 'services/view_manager/view_manager_init_service_impl.h', | 766 'services/view_manager/view_manager_init_service_impl.h', |
751 'services/view_manager/view_manager_service_impl.cc', | 767 'services/view_manager/view_manager_service_impl.cc', |
752 'services/view_manager/view_manager_service_impl.h', | 768 'services/view_manager/view_manager_service_impl.h', |
753 'services/view_manager/window_manager_access_policy.cc', | 769 'services/view_manager/window_manager_access_policy.cc', |
754 'services/view_manager/window_manager_access_policy.h', | 770 'services/view_manager/window_manager_access_policy.h', |
755 ], | 771 ], |
| 772 'includes': [ |
| 773 'mojo_public_gles2_for_loadable_module.gypi', |
| 774 ], |
756 'defines': [ | 775 'defines': [ |
757 'MOJO_VIEW_MANAGER_IMPLEMENTATION', | 776 'MOJO_VIEW_MANAGER_IMPLEMENTATION', |
758 ], | 777 ], |
759 }, | 778 }, |
760 { | 779 { |
761 # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittest
s | 780 # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittest
s |
762 'target_name': 'mojo_view_manager_run_unittests', | 781 'target_name': 'mojo_view_manager_run_unittests', |
763 'type': 'static_library', | 782 'type': 'static_library', |
764 'dependencies': [ | 783 'dependencies': [ |
765 '../base/base.gyp:base', | 784 '../base/base.gyp:base', |
766 '../base/base.gyp:test_support_base', | 785 '../base/base.gyp:test_support_base', |
767 '../ui/gl/gl.gyp:gl', | |
768 ], | 786 ], |
769 'sources': [ | 787 'sources': [ |
770 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', | 788 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', |
771 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', | 789 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', |
772 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', | 790 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', |
773 ], | 791 ], |
774 'conditions': [ | 792 'conditions': [ |
775 ['OS=="linux" or OS=="win"', { | |
776 'dependencies': [ | |
777 '../third_party/mesa/mesa.gyp:osmesa', | |
778 'mojo_native_viewport_service_lib', | |
779 ], | |
780 }], | |
781 ['use_x11==1', { | 793 ['use_x11==1', { |
782 'dependencies': [ | 794 'dependencies': [ |
783 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | 795 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
784 ], | 796 ], |
785 }], | 797 }], |
786 ], | 798 ], |
787 }, | 799 }, |
788 { | 800 { |
789 # GN version: //mojo/services/view_manager:mojo_view_manager_unittests | 801 # GN version: //mojo/services/view_manager:mojo_view_manager_unittests |
790 'target_name': 'mojo_view_manager_unittests', | 802 'target_name': 'mojo_view_manager_unittests', |
791 'type': 'executable', | 803 'type': 'executable', |
792 'dependencies': [ | 804 'dependencies': [ |
793 '../base/base.gyp:base', | 805 '../base/base.gyp:base', |
794 '../base/base.gyp:test_support_base', | 806 '../base/base.gyp:test_support_base', |
795 '../skia/skia.gyp:skia', | 807 '../skia/skia.gyp:skia', |
796 '../testing/gtest.gyp:gtest', | 808 '../testing/gtest.gyp:gtest', |
797 '../ui/aura/aura.gyp:aura', | 809 '../ui/aura/aura.gyp:aura', |
798 '../ui/gfx/gfx.gyp:gfx_geometry', | 810 '../ui/gfx/gfx.gyp:gfx_geometry', |
799 '../ui/gl/gl.gyp:gl', | |
800 'mojo_application_manager', | 811 'mojo_application_manager', |
801 'mojo_base.gyp:mojo_system_impl', | 812 'mojo_base.gyp:mojo_system_impl', |
802 'mojo_base.gyp:mojo_application_chromium', | 813 'mojo_base.gyp:mojo_application_chromium', |
803 'mojo_geometry_bindings', | 814 'mojo_geometry_bindings', |
804 'mojo_geometry_lib', | 815 'mojo_geometry_lib', |
805 'mojo_input_events_bindings', | 816 'mojo_input_events_bindings', |
806 'mojo_input_events_lib', | 817 'mojo_input_events_lib', |
807 'mojo_shell_test_support', | 818 'mojo_shell_test_support', |
808 'mojo_view_manager_bindings', | 819 'mojo_view_manager_bindings', |
809 'mojo_view_manager_common', | 820 'mojo_view_manager_common', |
810 'mojo_view_manager_run_unittests', | 821 'mojo_view_manager_run_unittests', |
811 ], | 822 ], |
812 'sources': [ | 823 'sources': [ |
813 'services/view_manager/test_change_tracker.cc', | 824 'services/view_manager/test_change_tracker.cc', |
814 'services/view_manager/test_change_tracker.h', | 825 'services/view_manager/test_change_tracker.h', |
815 'services/view_manager/view_manager_unittest.cc', | 826 'services/view_manager/view_manager_unittest.cc', |
816 ], | 827 ], |
| 828 'conditions': [ |
| 829 ['OS=="win"', { |
| 830 'dependencies': [ |
| 831 '../ui/gfx/gfx.gyp:gfx', |
| 832 ], |
| 833 }], |
| 834 ], |
817 }, | 835 }, |
818 { | 836 { |
819 'target_name': 'package_mojo_view_manager', | 837 'target_name': 'package_mojo_view_manager', |
820 'variables': { | 838 'variables': { |
821 'app_name': 'mojo_view_manager', | 839 'app_name': 'mojo_view_manager', |
822 }, | 840 }, |
823 'includes': [ 'build/package_app.gypi' ], | 841 'includes': [ 'build/package_app.gypi' ], |
824 }, | 842 }, |
825 { | 843 { |
826 # GN version: //mojo/services/window_manager:lib | 844 # GN version: //mojo/services/window_manager:lib |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 'services/window_manager/main.cc', | 876 'services/window_manager/main.cc', |
859 ], | 877 ], |
860 }, | 878 }, |
861 { | 879 { |
862 # GN version: //mojo/services/window_manager:mojo_core_window_manager_
unittests | 880 # GN version: //mojo/services/window_manager:mojo_core_window_manager_
unittests |
863 'target_name': 'mojo_core_window_manager_unittests', | 881 'target_name': 'mojo_core_window_manager_unittests', |
864 'type': 'executable', | 882 'type': 'executable', |
865 'dependencies': [ | 883 'dependencies': [ |
866 '../base/base.gyp:test_support_base', | 884 '../base/base.gyp:test_support_base', |
867 '../testing/gtest.gyp:gtest', | 885 '../testing/gtest.gyp:gtest', |
868 '../ui/gl/gl.gyp:gl', | |
869 'mojo_application_manager', | 886 'mojo_application_manager', |
870 'mojo_base.gyp:mojo_system_impl', | 887 'mojo_base.gyp:mojo_system_impl', |
871 'mojo_base.gyp:mojo_environment_chromium', | 888 'mojo_base.gyp:mojo_environment_chromium', |
872 'mojo_core_window_manager_bindings', | 889 'mojo_core_window_manager_bindings', |
873 'mojo_shell_test_support', | 890 'mojo_shell_test_support', |
874 'mojo_view_manager_bindings', | 891 'mojo_view_manager_bindings', |
875 'mojo_view_manager_lib', | 892 'mojo_view_manager_lib', |
876 ], | 893 ], |
877 'sources': [ | 894 'sources': [ |
878 'services/window_manager/window_manager_api_unittest.cc', | 895 'services/window_manager/window_manager_api_unittest.cc', |
(...skipping 10 matching lines...) Expand all Loading... |
889 'dependencies': [ | 906 'dependencies': [ |
890 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | 907 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
891 ], | 908 ], |
892 }], | 909 }], |
893 ], | 910 ], |
894 }, | 911 }, |
895 ], | 912 ], |
896 }], | 913 }], |
897 ], | 914 ], |
898 } | 915 } |
OLD | NEW |