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