Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1007)

Side by Side Diff: mojo/mojo_services.gypi

Issue 495223002: GN build rules for all unit test targets in mojo/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/dbus_echo:bindings 8 # GN version: //mojo/services/dbus_echo:bindings
9 'target_name': 'mojo_echo_bindings', 9 'target_name': 'mojo_echo_bindings',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 'services/public/cpp/view_manager/view_manager_client_factory.h', 522 'services/public/cpp/view_manager/view_manager_client_factory.h',
523 'services/public/cpp/view_manager/view_manager_delegate.h', 523 'services/public/cpp/view_manager/view_manager_delegate.h',
524 'services/public/cpp/view_manager/view_observer.h', 524 'services/public/cpp/view_manager/view_observer.h',
525 'services/public/cpp/view_manager/window_manager_delegate.h', 525 'services/public/cpp/view_manager/window_manager_delegate.h',
526 ], 526 ],
527 'export_dependent_settings': [ 527 'export_dependent_settings': [
528 'mojo_view_manager_bindings', 528 'mojo_view_manager_bindings',
529 ], 529 ],
530 }, 530 },
531 { 531 {
532 # GN version: //mojo/services/public/cpp/view_manager/tests:mojo_view_mana ger_lib_unittests
532 'target_name': 'mojo_view_manager_lib_unittests', 533 'target_name': 'mojo_view_manager_lib_unittests',
533 'type': 'executable', 534 'type': 'executable',
534 'dependencies': [ 535 'dependencies': [
535 '../base/base.gyp:base', 536 '../base/base.gyp:base',
536 '../base/base.gyp:test_support_base', 537 '../base/base.gyp:test_support_base',
537 '../testing/gtest.gyp:gtest', 538 '../testing/gtest.gyp:gtest',
538 '../ui/gfx/gfx.gyp:gfx', 539 '../ui/gfx/gfx.gyp:gfx',
539 '../ui/gfx/gfx.gyp:gfx_test_support', 540 '../ui/gfx/gfx.gyp:gfx_test_support',
540 'mojo_base.gyp:mojo_environment_chromium', 541 'mojo_base.gyp:mojo_environment_chromium',
541 'mojo_geometry_bindings', 542 'mojo_geometry_bindings',
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 'services/view_manager/context_factory_impl.cc', 720 'services/view_manager/context_factory_impl.cc',
720 'services/view_manager/context_factory_impl.h', 721 'services/view_manager/context_factory_impl.h',
721 'services/view_manager/window_tree_host_impl.cc', 722 'services/view_manager/window_tree_host_impl.cc',
722 'services/view_manager/window_tree_host_impl.h', 723 'services/view_manager/window_tree_host_impl.h',
723 ], 724 ],
724 'defines': [ 725 'defines': [
725 'MOJO_VIEW_MANAGER_IMPLEMENTATION', 726 'MOJO_VIEW_MANAGER_IMPLEMENTATION',
726 ], 727 ],
727 }, 728 },
728 { 729 {
730 # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittest s
729 'target_name': 'mojo_view_manager_run_unittests', 731 'target_name': 'mojo_view_manager_run_unittests',
730 'type': 'static_library', 732 'type': 'static_library',
731 'dependencies': [ 733 'dependencies': [
732 '../base/base.gyp:base', 734 '../base/base.gyp:base',
733 '../base/base.gyp:test_support_base', 735 '../base/base.gyp:test_support_base',
734 '../ui/gl/gl.gyp:gl', 736 '../ui/gl/gl.gyp:gl',
735 ], 737 ],
736 'sources': [ 738 'sources': [
737 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', 739 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc',
738 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', 740 'services/public/cpp/view_manager/lib/view_manager_test_suite.h',
739 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', 741 'services/public/cpp/view_manager/lib/view_manager_unittests.cc',
740 ], 742 ],
741 'conditions': [ 743 'conditions': [
742 ['OS=="linux"', { 744 ['OS=="linux"', {
743 'dependencies': [ 745 'dependencies': [
744 '../third_party/mesa/mesa.gyp:osmesa', 746 '../third_party/mesa/mesa.gyp:osmesa',
745 'mojo_native_viewport_service_lib', 747 'mojo_native_viewport_service_lib',
746 ], 748 ],
747 }], 749 }],
748 ['use_x11==1', { 750 ['use_x11==1', {
749 'dependencies': [ 751 'dependencies': [
750 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', 752 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
751 ], 753 ],
752 }], 754 }],
753 ], 755 ],
754 }, 756 },
755 { 757 {
758 # GN version: //mojo/services/view_manager:mojo_view_manager_unittests
756 'target_name': 'mojo_view_manager_unittests', 759 'target_name': 'mojo_view_manager_unittests',
757 'type': 'executable', 760 'type': 'executable',
758 'dependencies': [ 761 'dependencies': [
759 '../base/base.gyp:base', 762 '../base/base.gyp:base',
760 '../base/base.gyp:test_support_base', 763 '../base/base.gyp:test_support_base',
761 '../skia/skia.gyp:skia', 764 '../skia/skia.gyp:skia',
762 '../testing/gtest.gyp:gtest', 765 '../testing/gtest.gyp:gtest',
763 '../ui/aura/aura.gyp:aura', 766 '../ui/aura/aura.gyp:aura',
764 '../ui/gfx/gfx.gyp:gfx_geometry', 767 '../ui/gfx/gfx.gyp:gfx_geometry',
765 '../ui/gl/gl.gyp:gl', 768 '../ui/gl/gl.gyp:gl',
(...skipping 16 matching lines...) Expand all
782 ], 785 ],
783 }, 786 },
784 { 787 {
785 'target_name': 'package_mojo_view_manager', 788 'target_name': 'package_mojo_view_manager',
786 'variables': { 789 'variables': {
787 'app_name': 'mojo_view_manager', 790 'app_name': 'mojo_view_manager',
788 }, 791 },
789 'includes': [ 'build/package_app.gypi' ], 792 'includes': [ 'build/package_app.gypi' ],
790 }, 793 },
791 { 794 {
795 # GN version: //mojo/services/window_manager:lib
792 'target_name': 'mojo_core_window_manager_lib', 796 'target_name': 'mojo_core_window_manager_lib',
793 'type': 'static_library', 797 'type': 'static_library',
794 'dependencies': [ 798 'dependencies': [
795 '../base/base.gyp:base', 799 '../base/base.gyp:base',
796 '../ui/base/ui_base.gyp:ui_base', 800 '../ui/base/ui_base.gyp:ui_base',
797 '../ui/gfx/gfx.gyp:gfx', 801 '../ui/gfx/gfx.gyp:gfx',
798 '../ui/gfx/gfx.gyp:gfx_geometry', 802 '../ui/gfx/gfx.gyp:gfx_geometry',
799 '../ui/wm/wm.gyp:wm', 803 '../ui/wm/wm.gyp:wm',
800 'mojo_base.gyp:mojo_common_lib', 804 'mojo_base.gyp:mojo_common_lib',
801 'mojo_base.gyp:mojo_application_chromium', 805 'mojo_base.gyp:mojo_application_chromium',
802 'mojo_aura_support', 806 'mojo_aura_support',
803 'mojo_core_window_manager_bindings', 807 'mojo_core_window_manager_bindings',
804 'mojo_input_events_lib', 808 'mojo_input_events_lib',
805 'mojo_view_manager_lib', 809 'mojo_view_manager_lib',
806 ], 810 ],
807 'sources': [ 811 'sources': [
808 'services/window_manager/window_manager_app.cc', 812 'services/window_manager/window_manager_app.cc',
809 'services/window_manager/window_manager_app.h', 813 'services/window_manager/window_manager_app.h',
810 'services/window_manager/window_manager_service_impl.cc', 814 'services/window_manager/window_manager_service_impl.cc',
811 'services/window_manager/window_manager_service_impl.h', 815 'services/window_manager/window_manager_service_impl.h',
812 ], 816 ],
813 }, 817 },
814 { 818 {
819 # GN version: //mojo/services/window_manager
815 'target_name': 'mojo_core_window_manager', 820 'target_name': 'mojo_core_window_manager',
816 'type': 'loadable_module', 821 'type': 'loadable_module',
817 'dependencies': [ 822 'dependencies': [
818 'mojo_core_window_manager_lib', 823 'mojo_core_window_manager_lib',
819 '<(mojo_system_for_loadable_module)', 824 '<(mojo_system_for_loadable_module)',
820 ], 825 ],
821 'sources': [ 826 'sources': [
822 'services/window_manager/main.cc', 827 'services/window_manager/main.cc',
823 ], 828 ],
824 }, 829 },
825 { 830 {
831 # GN version: //mojo/services/window_manager:mojo_core_window_manager_ unittests
826 'target_name': 'mojo_core_window_manager_unittests', 832 'target_name': 'mojo_core_window_manager_unittests',
827 'type': 'executable', 833 'type': 'executable',
828 'dependencies': [ 834 'dependencies': [
829 '../base/base.gyp:test_support_base', 835 '../base/base.gyp:test_support_base',
830 '../testing/gtest.gyp:gtest', 836 '../testing/gtest.gyp:gtest',
831 '../ui/gl/gl.gyp:gl', 837 '../ui/gl/gl.gyp:gl',
832 'mojo_application_manager', 838 'mojo_application_manager',
833 'mojo_base.gyp:mojo_system_impl', 839 'mojo_base.gyp:mojo_system_impl',
834 'mojo_base.gyp:mojo_environment_chromium', 840 'mojo_base.gyp:mojo_environment_chromium',
835 'mojo_core_window_manager_bindings', 841 'mojo_core_window_manager_bindings',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 'mojo_echo_bindings', 879 'mojo_echo_bindings',
874 ], 880 ],
875 'sources': [ 881 'sources': [
876 'services/dbus_echo/dbus_echo_service.cc', 882 'services/dbus_echo/dbus_echo_service.cc',
877 ], 883 ],
878 }, 884 },
879 ], 885 ],
880 }], 886 }],
881 ], 887 ],
882 } 888 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698