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/clipboard/ | 8 # GN version: //mojo/services/clipboard/ |
9 'target_name': 'mojo_clipboard', | 9 'target_name': 'mojo_clipboard', |
10 'type': 'loadable_module', | 10 'type': 'loadable_module', |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 'mojo_base.gyp:mojo_cpp_bindings', | 321 'mojo_base.gyp:mojo_cpp_bindings', |
322 'mojo_base.gyp:mojo_gles2_bindings', | 322 'mojo_base.gyp:mojo_gles2_bindings', |
323 'mojo_geometry_bindings', | 323 'mojo_geometry_bindings', |
324 'mojo_input_events_bindings', | 324 'mojo_input_events_bindings', |
325 'mojo_surface_id_bindings', | 325 'mojo_surface_id_bindings', |
326 ], | 326 ], |
327 }, | 327 }, |
328 { | 328 { |
329 # GN version: //mojo/services/native_viewport | 329 # GN version: //mojo/services/native_viewport |
330 'target_name': 'mojo_native_viewport_service_lib', | 330 'target_name': 'mojo_native_viewport_service_lib', |
| 331 # This is linked directly into the embedder, so we make it a static_librar
y. |
| 332 # TODO(davemoore): Make this a true service. |
331 'type': 'static_library', | 333 'type': 'static_library', |
332 'dependencies': [ | 334 'dependencies': [ |
333 '../base/base.gyp:base', | 335 '../base/base.gyp:base', |
334 '../cc/cc.gyp:cc_surfaces', | 336 '../cc/cc.gyp:cc_surfaces', |
335 '../skia/skia.gyp:skia', | 337 '../skia/skia.gyp:skia', |
336 '../ui/events/events.gyp:events', | 338 '../ui/events/events.gyp:events', |
337 '../ui/gfx/gfx.gyp:gfx', | 339 '../ui/gfx/gfx.gyp:gfx', |
338 '../ui/gfx/gfx.gyp:gfx_geometry', | 340 '../ui/gfx/gfx.gyp:gfx_geometry', |
339 'mojo_base.gyp:mojo_application_chromium', | 341 'mojo_base.gyp:mojo_application_chromium', |
340 'mojo_base.gyp:mojo_common_lib', | 342 'mojo_base.gyp:mojo_common_lib', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 ], | 393 ], |
392 }], | 394 }], |
393 ['use_ozone==1', { | 395 ['use_ozone==1', { |
394 'dependencies': [ | 396 'dependencies': [ |
395 '../ui/ozone/ozone.gyp:ozone', | 397 '../ui/ozone/ozone.gyp:ozone', |
396 ], | 398 ], |
397 }], | 399 }], |
398 ], | 400 ], |
399 }, | 401 }, |
400 { | 402 { |
401 'target_name': 'mojo_native_viewport_service', | |
402 'type': 'loadable_module', | |
403 'dependencies': [ | |
404 'mojo_native_viewport_bindings', | |
405 'mojo_native_viewport_service_lib', | |
406 '<(mojo_system_for_loadable_module)', | |
407 ], | |
408 'export_dependent_settings': [ | |
409 'mojo_native_viewport_bindings', | |
410 ], | |
411 'sources': [ | |
412 'services/native_viewport/main.cc', | |
413 ], | |
414 }, | |
415 { | |
416 # GN version: //mojo/services/public/interfaces/navigation | 403 # GN version: //mojo/services/public/interfaces/navigation |
417 'target_name': 'mojo_navigation_bindings', | 404 'target_name': 'mojo_navigation_bindings', |
418 'type': 'static_library', | 405 'type': 'static_library', |
419 'sources': [ | 406 'sources': [ |
420 'services/public/interfaces/navigation/navigation.mojom', | 407 'services/public/interfaces/navigation/navigation.mojom', |
421 ], | 408 ], |
422 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 409 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
423 'export_dependent_settings': [ | 410 'export_dependent_settings': [ |
424 'mojo_base.gyp:mojo_cpp_bindings', | 411 'mojo_base.gyp:mojo_cpp_bindings', |
425 ], | 412 ], |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 'mojo_base.gyp:mojo_cpp_bindings', | 754 'mojo_base.gyp:mojo_cpp_bindings', |
768 ], | 755 ], |
769 }, | 756 }, |
770 ], | 757 ], |
771 'conditions': [ | 758 'conditions': [ |
772 ['use_aura==1', { | 759 ['use_aura==1', { |
773 'targets': [ | 760 'targets': [ |
774 { | 761 { |
775 # GN version: //mojo/services/view_manager | 762 # GN version: //mojo/services/view_manager |
776 'target_name': 'mojo_view_manager', | 763 'target_name': 'mojo_view_manager', |
777 'type': 'loadable_module', | 764 'type': '<(component)', |
778 'dependencies': [ | 765 'dependencies': [ |
779 '../base/base.gyp:base', | 766 '../base/base.gyp:base', |
780 '../cc/cc.gyp:cc_surfaces', | 767 '../cc/cc.gyp:cc_surfaces', |
781 '../skia/skia.gyp:skia', | 768 '../skia/skia.gyp:skia', |
782 '../ui/base/ui_base.gyp:ui_base', | 769 '../ui/base/ui_base.gyp:ui_base', |
783 '../ui/events/events.gyp:events', | 770 '../ui/events/events.gyp:events', |
784 '../ui/events/events.gyp:events_base', | 771 '../ui/events/events.gyp:events_base', |
785 '../ui/gfx/gfx.gyp:gfx', | 772 '../ui/gfx/gfx.gyp:gfx', |
786 '../ui/gfx/gfx.gyp:gfx_geometry', | 773 '../ui/gfx/gfx.gyp:gfx_geometry', |
787 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | |
788 'mojo_base.gyp:mojo_common_lib', | |
789 'mojo_base.gyp:mojo_application_chromium', | 774 'mojo_base.gyp:mojo_application_chromium', |
790 'mojo_base.gyp:mojo_common_lib', | 775 'mojo_base.gyp:mojo_common_lib', |
791 'mojo_geometry_bindings', | 776 'mojo_geometry_bindings', |
792 'mojo_geometry_lib', | 777 'mojo_geometry_lib', |
793 'mojo_gpu_bindings', | 778 'mojo_gpu_bindings', |
794 'mojo_input_events_bindings', | 779 'mojo_input_events_bindings', |
795 'mojo_input_events_lib', | 780 'mojo_input_events_lib', |
796 'mojo_native_viewport_bindings', | 781 'mojo_native_viewport_bindings', |
797 'mojo_surfaces_bindings', | 782 'mojo_surfaces_bindings', |
798 'mojo_surfaces_lib', | 783 'mojo_surfaces_lib', |
799 'mojo_view_manager_bindings', | 784 'mojo_view_manager_bindings', |
800 'mojo_view_manager_common', | 785 'mojo_view_manager_common', |
801 'mojo_gpu_bindings', | 786 '<(mojo_system_for_component)', |
802 '<(mojo_system_for_loadable_module)', | |
803 ], | 787 ], |
804 'sources': [ | 788 'sources': [ |
805 'services/view_manager/access_policy.h', | 789 'services/view_manager/access_policy.h', |
806 'services/view_manager/access_policy_delegate.h', | 790 'services/view_manager/access_policy_delegate.h', |
807 'services/view_manager/connection_manager.cc', | 791 'services/view_manager/connection_manager.cc', |
808 'services/view_manager/connection_manager.h', | 792 'services/view_manager/connection_manager.h', |
809 'services/view_manager/default_access_policy.cc', | 793 'services/view_manager/default_access_policy.cc', |
810 'services/view_manager/default_access_policy.h', | 794 'services/view_manager/default_access_policy.h', |
811 'services/view_manager/display_manager.cc', | 795 'services/view_manager/display_manager.cc', |
812 'services/view_manager/display_manager.h', | 796 'services/view_manager/display_manager.h', |
813 'services/view_manager/ids.h', | 797 'services/view_manager/ids.h', |
814 'services/view_manager/main.cc', | 798 'services/view_manager/main.cc', |
815 'services/view_manager/server_view.cc', | 799 'services/view_manager/server_view.cc', |
816 'services/view_manager/server_view.h', | 800 'services/view_manager/server_view.h', |
817 'services/view_manager/server_view_delegate.h', | 801 'services/view_manager/server_view_delegate.h', |
818 'services/view_manager/view_manager_export.h', | 802 'services/view_manager/view_manager_export.h', |
819 'services/view_manager/view_manager_init_service_context.cc', | 803 'services/view_manager/view_manager_init_service_context.cc', |
820 'services/view_manager/view_manager_init_service_context.h', | 804 'services/view_manager/view_manager_init_service_context.h', |
821 'services/view_manager/view_manager_init_service_impl.cc', | 805 'services/view_manager/view_manager_init_service_impl.cc', |
822 'services/view_manager/view_manager_init_service_impl.h', | 806 'services/view_manager/view_manager_init_service_impl.h', |
823 'services/view_manager/view_manager_service_impl.cc', | 807 'services/view_manager/view_manager_service_impl.cc', |
824 'services/view_manager/view_manager_service_impl.h', | 808 'services/view_manager/view_manager_service_impl.h', |
825 'services/view_manager/window_manager_access_policy.cc', | 809 'services/view_manager/window_manager_access_policy.cc', |
826 'services/view_manager/window_manager_access_policy.h', | 810 'services/view_manager/window_manager_access_policy.h', |
827 ], | 811 ], |
828 'includes': [ | |
829 'mojo_public_gles2_for_loadable_module.gypi', | |
830 ], | |
831 'defines': [ | 812 'defines': [ |
832 'MOJO_VIEW_MANAGER_IMPLEMENTATION', | 813 'MOJO_VIEW_MANAGER_IMPLEMENTATION', |
833 ], | 814 ], |
834 }, | 815 }, |
835 { | 816 { |
836 # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittest
s | 817 # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittest
s |
837 'target_name': 'mojo_view_manager_run_unittests', | 818 'target_name': 'mojo_view_manager_run_unittests', |
838 'type': 'static_library', | 819 'type': 'static_library', |
839 'dependencies': [ | 820 'dependencies': [ |
840 '../base/base.gyp:base', | 821 '../base/base.gyp:base', |
841 '../base/base.gyp:test_support_base', | 822 '../base/base.gyp:test_support_base', |
| 823 '../ui/gl/gl.gyp:gl', |
842 ], | 824 ], |
843 'sources': [ | 825 'sources': [ |
844 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', | 826 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', |
845 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', | 827 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', |
846 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', | 828 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', |
847 ], | 829 ], |
848 'conditions': [ | 830 'conditions': [ |
| 831 ['OS=="linux" or OS=="win"', { |
| 832 'dependencies': [ |
| 833 '../third_party/mesa/mesa.gyp:osmesa', |
| 834 'mojo_native_viewport_service_lib', |
| 835 ], |
| 836 }], |
849 ['use_x11==1', { | 837 ['use_x11==1', { |
850 'dependencies': [ | 838 'dependencies': [ |
851 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | 839 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
852 ], | 840 ], |
853 }], | 841 }], |
854 ], | 842 ], |
855 }, | 843 }, |
856 { | 844 { |
857 # GN version: //mojo/services/view_manager:mojo_view_manager_unittests | 845 # GN version: //mojo/services/view_manager:mojo_view_manager_unittests |
858 'target_name': 'mojo_view_manager_unittests', | 846 'target_name': 'mojo_view_manager_unittests', |
859 'type': 'executable', | 847 'type': 'executable', |
860 'dependencies': [ | 848 'dependencies': [ |
861 '../base/base.gyp:base', | 849 '../base/base.gyp:base', |
862 '../base/base.gyp:test_support_base', | 850 '../base/base.gyp:test_support_base', |
863 '../skia/skia.gyp:skia', | 851 '../skia/skia.gyp:skia', |
864 '../testing/gtest.gyp:gtest', | 852 '../testing/gtest.gyp:gtest', |
865 '../ui/aura/aura.gyp:aura', | 853 '../ui/aura/aura.gyp:aura', |
866 '../ui/gfx/gfx.gyp:gfx_geometry', | 854 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 855 '../ui/gl/gl.gyp:gl', |
867 'mojo_application_manager', | 856 'mojo_application_manager', |
868 'mojo_base.gyp:mojo_system_impl', | 857 'mojo_base.gyp:mojo_system_impl', |
869 'mojo_base.gyp:mojo_application_chromium', | 858 'mojo_base.gyp:mojo_application_chromium', |
870 'mojo_geometry_bindings', | 859 'mojo_geometry_bindings', |
871 'mojo_geometry_lib', | 860 'mojo_geometry_lib', |
872 'mojo_input_events_bindings', | 861 'mojo_input_events_bindings', |
873 'mojo_input_events_lib', | 862 'mojo_input_events_lib', |
874 'mojo_shell_test_support', | 863 'mojo_shell_test_support', |
875 'mojo_view_manager_bindings', | 864 'mojo_view_manager_bindings', |
876 'mojo_view_manager_common', | 865 'mojo_view_manager_common', |
877 'mojo_view_manager_run_unittests', | 866 'mojo_view_manager_run_unittests', |
878 ], | 867 ], |
879 'sources': [ | 868 'sources': [ |
880 'services/view_manager/test_change_tracker.cc', | 869 'services/view_manager/test_change_tracker.cc', |
881 'services/view_manager/test_change_tracker.h', | 870 'services/view_manager/test_change_tracker.h', |
882 'services/view_manager/view_manager_unittest.cc', | 871 'services/view_manager/view_manager_unittest.cc', |
883 ], | 872 ], |
884 'conditions': [ | |
885 ['OS=="win"', { | |
886 'dependencies': [ | |
887 '../ui/gfx/gfx.gyp:gfx', | |
888 ], | |
889 }], | |
890 ], | |
891 }, | 873 }, |
892 { | 874 { |
893 'target_name': 'package_mojo_view_manager', | 875 'target_name': 'package_mojo_view_manager', |
894 'variables': { | 876 'variables': { |
895 'app_name': 'mojo_view_manager', | 877 'app_name': 'mojo_view_manager', |
896 }, | 878 }, |
897 'includes': [ 'build/package_app.gypi' ], | 879 'includes': [ 'build/package_app.gypi' ], |
898 }, | 880 }, |
899 { | 881 { |
900 # GN version: //mojo/services/window_manager:lib | 882 # GN version: //mojo/services/window_manager:lib |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 'services/window_manager/main.cc', | 914 'services/window_manager/main.cc', |
933 ], | 915 ], |
934 }, | 916 }, |
935 { | 917 { |
936 # GN version: //mojo/services/window_manager:mojo_core_window_manager_
unittests | 918 # GN version: //mojo/services/window_manager:mojo_core_window_manager_
unittests |
937 'target_name': 'mojo_core_window_manager_unittests', | 919 'target_name': 'mojo_core_window_manager_unittests', |
938 'type': 'executable', | 920 'type': 'executable', |
939 'dependencies': [ | 921 'dependencies': [ |
940 '../base/base.gyp:test_support_base', | 922 '../base/base.gyp:test_support_base', |
941 '../testing/gtest.gyp:gtest', | 923 '../testing/gtest.gyp:gtest', |
| 924 '../ui/gl/gl.gyp:gl', |
942 'mojo_application_manager', | 925 'mojo_application_manager', |
943 'mojo_base.gyp:mojo_system_impl', | 926 'mojo_base.gyp:mojo_system_impl', |
944 'mojo_base.gyp:mojo_environment_chromium', | 927 'mojo_base.gyp:mojo_environment_chromium', |
945 'mojo_core_window_manager_bindings', | 928 'mojo_core_window_manager_bindings', |
946 'mojo_shell_test_support', | 929 'mojo_shell_test_support', |
947 'mojo_view_manager_bindings', | 930 'mojo_view_manager_bindings', |
948 'mojo_view_manager_lib', | 931 'mojo_view_manager_lib', |
949 ], | 932 ], |
950 'sources': [ | 933 'sources': [ |
951 'services/window_manager/window_manager_api_unittest.cc', | 934 'services/window_manager/window_manager_api_unittest.cc', |
(...skipping 10 matching lines...) Expand all Loading... |
962 'dependencies': [ | 945 'dependencies': [ |
963 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | 946 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
964 ], | 947 ], |
965 }], | 948 }], |
966 ], | 949 ], |
967 }, | 950 }, |
968 ], | 951 ], |
969 }], | 952 }], |
970 ], | 953 ], |
971 } | 954 } |
OLD | NEW |