| 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 # No direct dependencies, but needed for tests that use the | |
| 804 # view_manager. | |
| 805 'mojo_native_viewport_service', | |
| 806 ], | 787 ], |
| 807 'sources': [ | 788 'sources': [ |
| 808 'services/view_manager/access_policy.h', | 789 'services/view_manager/access_policy.h', |
| 809 'services/view_manager/access_policy_delegate.h', | 790 'services/view_manager/access_policy_delegate.h', |
| 810 'services/view_manager/connection_manager.cc', | 791 'services/view_manager/connection_manager.cc', |
| 811 'services/view_manager/connection_manager.h', | 792 'services/view_manager/connection_manager.h', |
| 812 'services/view_manager/default_access_policy.cc', | 793 'services/view_manager/default_access_policy.cc', |
| 813 'services/view_manager/default_access_policy.h', | 794 'services/view_manager/default_access_policy.h', |
| 814 'services/view_manager/display_manager.cc', | 795 'services/view_manager/display_manager.cc', |
| 815 'services/view_manager/display_manager.h', | 796 'services/view_manager/display_manager.h', |
| 816 'services/view_manager/ids.h', | 797 'services/view_manager/ids.h', |
| 817 'services/view_manager/main.cc', | 798 'services/view_manager/main.cc', |
| 818 'services/view_manager/server_view.cc', | 799 'services/view_manager/server_view.cc', |
| 819 'services/view_manager/server_view.h', | 800 'services/view_manager/server_view.h', |
| 820 'services/view_manager/server_view_delegate.h', | 801 'services/view_manager/server_view_delegate.h', |
| 821 'services/view_manager/view_manager_export.h', | 802 'services/view_manager/view_manager_export.h', |
| 822 'services/view_manager/view_manager_init_service_context.cc', | 803 'services/view_manager/view_manager_init_service_context.cc', |
| 823 'services/view_manager/view_manager_init_service_context.h', | 804 'services/view_manager/view_manager_init_service_context.h', |
| 824 'services/view_manager/view_manager_init_service_impl.cc', | 805 'services/view_manager/view_manager_init_service_impl.cc', |
| 825 'services/view_manager/view_manager_init_service_impl.h', | 806 'services/view_manager/view_manager_init_service_impl.h', |
| 826 'services/view_manager/view_manager_service_impl.cc', | 807 'services/view_manager/view_manager_service_impl.cc', |
| 827 'services/view_manager/view_manager_service_impl.h', | 808 'services/view_manager/view_manager_service_impl.h', |
| 828 'services/view_manager/window_manager_access_policy.cc', | 809 'services/view_manager/window_manager_access_policy.cc', |
| 829 'services/view_manager/window_manager_access_policy.h', | 810 'services/view_manager/window_manager_access_policy.h', |
| 830 ], | 811 ], |
| 831 'includes': [ | |
| 832 'mojo_public_gles2_for_loadable_module.gypi', | |
| 833 ], | |
| 834 'defines': [ | 812 'defines': [ |
| 835 'MOJO_VIEW_MANAGER_IMPLEMENTATION', | 813 'MOJO_VIEW_MANAGER_IMPLEMENTATION', |
| 836 ], | 814 ], |
| 837 }, | 815 }, |
| 838 { | 816 { |
| 839 # 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 |
| 840 'target_name': 'mojo_view_manager_run_unittests', | 818 'target_name': 'mojo_view_manager_run_unittests', |
| 841 'type': 'static_library', | 819 'type': 'static_library', |
| 842 'dependencies': [ | 820 'dependencies': [ |
| 843 '../base/base.gyp:base', | 821 '../base/base.gyp:base', |
| 844 '../base/base.gyp:test_support_base', | 822 '../base/base.gyp:test_support_base', |
| 823 '../ui/gl/gl.gyp:gl', |
| 845 ], | 824 ], |
| 846 'sources': [ | 825 'sources': [ |
| 847 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', | 826 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', |
| 848 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', | 827 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', |
| 849 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', | 828 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', |
| 850 ], | 829 ], |
| 851 '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 }], |
| 852 ['use_x11==1', { | 837 ['use_x11==1', { |
| 853 'dependencies': [ | 838 'dependencies': [ |
| 854 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | 839 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
| 855 ], | 840 ], |
| 856 }], | 841 }], |
| 857 ], | 842 ], |
| 858 }, | 843 }, |
| 859 { | 844 { |
| 860 # GN version: //mojo/services/view_manager:mojo_view_manager_unittests | 845 # GN version: //mojo/services/view_manager:mojo_view_manager_unittests |
| 861 'target_name': 'mojo_view_manager_unittests', | 846 'target_name': 'mojo_view_manager_unittests', |
| 862 'type': 'executable', | 847 'type': 'executable', |
| 863 'dependencies': [ | 848 'dependencies': [ |
| 864 '../base/base.gyp:base', | 849 '../base/base.gyp:base', |
| 865 '../base/base.gyp:test_support_base', | 850 '../base/base.gyp:test_support_base', |
| 866 '../skia/skia.gyp:skia', | 851 '../skia/skia.gyp:skia', |
| 867 '../testing/gtest.gyp:gtest', | 852 '../testing/gtest.gyp:gtest', |
| 868 '../ui/aura/aura.gyp:aura', | 853 '../ui/aura/aura.gyp:aura', |
| 869 '../ui/gfx/gfx.gyp:gfx_geometry', | 854 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 855 '../ui/gl/gl.gyp:gl', |
| 870 'mojo_application_manager', | 856 'mojo_application_manager', |
| 871 'mojo_base.gyp:mojo_system_impl', | 857 'mojo_base.gyp:mojo_system_impl', |
| 872 'mojo_base.gyp:mojo_application_chromium', | 858 'mojo_base.gyp:mojo_application_chromium', |
| 873 'mojo_geometry_bindings', | 859 'mojo_geometry_bindings', |
| 874 'mojo_geometry_lib', | 860 'mojo_geometry_lib', |
| 875 'mojo_input_events_bindings', | 861 'mojo_input_events_bindings', |
| 876 'mojo_input_events_lib', | 862 'mojo_input_events_lib', |
| 877 'mojo_shell_test_support', | 863 'mojo_shell_test_support', |
| 878 'mojo_view_manager_bindings', | 864 'mojo_view_manager_bindings', |
| 879 'mojo_view_manager_common', | 865 'mojo_view_manager_common', |
| 880 'mojo_view_manager_run_unittests', | 866 'mojo_view_manager_run_unittests', |
| 881 # Included only to force deps for bots. | |
| 882 'mojo_native_viewport_service', | |
| 883 'mojo_view_manager', | |
| 884 ], | 867 ], |
| 885 'sources': [ | 868 'sources': [ |
| 886 'services/view_manager/test_change_tracker.cc', | 869 'services/view_manager/test_change_tracker.cc', |
| 887 'services/view_manager/test_change_tracker.h', | 870 'services/view_manager/test_change_tracker.h', |
| 888 'services/view_manager/view_manager_unittest.cc', | 871 'services/view_manager/view_manager_unittest.cc', |
| 889 ], | 872 ], |
| 890 'conditions': [ | |
| 891 ['OS=="win"', { | |
| 892 'dependencies': [ | |
| 893 '../ui/gfx/gfx.gyp:gfx', | |
| 894 ], | |
| 895 }], | |
| 896 ], | |
| 897 }, | 873 }, |
| 898 { | 874 { |
| 899 'target_name': 'package_mojo_view_manager', | 875 'target_name': 'package_mojo_view_manager', |
| 900 'variables': { | 876 'variables': { |
| 901 'app_name': 'mojo_view_manager', | 877 'app_name': 'mojo_view_manager', |
| 902 }, | 878 }, |
| 903 'includes': [ 'build/package_app.gypi' ], | 879 'includes': [ 'build/package_app.gypi' ], |
| 904 }, | 880 }, |
| 905 { | 881 { |
| 906 # 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... |
| 938 'services/window_manager/main.cc', | 914 'services/window_manager/main.cc', |
| 939 ], | 915 ], |
| 940 }, | 916 }, |
| 941 { | 917 { |
| 942 # GN version: //mojo/services/window_manager:mojo_core_window_manager_
unittests | 918 # GN version: //mojo/services/window_manager:mojo_core_window_manager_
unittests |
| 943 'target_name': 'mojo_core_window_manager_unittests', | 919 'target_name': 'mojo_core_window_manager_unittests', |
| 944 'type': 'executable', | 920 'type': 'executable', |
| 945 'dependencies': [ | 921 'dependencies': [ |
| 946 '../base/base.gyp:test_support_base', | 922 '../base/base.gyp:test_support_base', |
| 947 '../testing/gtest.gyp:gtest', | 923 '../testing/gtest.gyp:gtest', |
| 924 '../ui/gl/gl.gyp:gl', |
| 948 'mojo_application_manager', | 925 'mojo_application_manager', |
| 949 'mojo_base.gyp:mojo_system_impl', | 926 'mojo_base.gyp:mojo_system_impl', |
| 950 'mojo_base.gyp:mojo_environment_chromium', | 927 'mojo_base.gyp:mojo_environment_chromium', |
| 951 'mojo_core_window_manager_bindings', | 928 'mojo_core_window_manager_bindings', |
| 952 'mojo_shell_test_support', | 929 'mojo_shell_test_support', |
| 953 'mojo_view_manager_bindings', | 930 'mojo_view_manager_bindings', |
| 954 'mojo_view_manager_lib', | 931 'mojo_view_manager_lib', |
| 955 ], | 932 ], |
| 956 'sources': [ | 933 'sources': [ |
| 957 'services/window_manager/window_manager_api_unittest.cc', | 934 'services/window_manager/window_manager_api_unittest.cc', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 968 'dependencies': [ | 945 'dependencies': [ |
| 969 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | 946 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
| 970 ], | 947 ], |
| 971 }], | 948 }], |
| 972 ], | 949 ], |
| 973 }, | 950 }, |
| 974 ], | 951 ], |
| 975 }], | 952 }], |
| 976 ], | 953 ], |
| 977 } | 954 } |
| OLD | NEW |