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

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: fix copyright header 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
« no previous file with comments | « mojo/mojo_base.gyp ('k') | mojo/public/cpp/application/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 'services/public/cpp/view_manager/view_manager_client_factory.h', 538 'services/public/cpp/view_manager/view_manager_client_factory.h',
539 'services/public/cpp/view_manager/view_manager_delegate.h', 539 'services/public/cpp/view_manager/view_manager_delegate.h',
540 'services/public/cpp/view_manager/view_observer.h', 540 'services/public/cpp/view_manager/view_observer.h',
541 'services/public/cpp/view_manager/window_manager_delegate.h', 541 'services/public/cpp/view_manager/window_manager_delegate.h',
542 ], 542 ],
543 'export_dependent_settings': [ 543 'export_dependent_settings': [
544 'mojo_view_manager_bindings', 544 'mojo_view_manager_bindings',
545 ], 545 ],
546 }, 546 },
547 { 547 {
548 # GN version: //mojo/services/public/cpp/view_manager/tests:mojo_view_mana ger_lib_unittests
548 'target_name': 'mojo_view_manager_lib_unittests', 549 'target_name': 'mojo_view_manager_lib_unittests',
549 'type': 'executable', 550 'type': 'executable',
550 'dependencies': [ 551 'dependencies': [
551 '../base/base.gyp:base', 552 '../base/base.gyp:base',
552 '../base/base.gyp:test_support_base', 553 '../base/base.gyp:test_support_base',
553 '../testing/gtest.gyp:gtest', 554 '../testing/gtest.gyp:gtest',
554 '../ui/gfx/gfx.gyp:gfx', 555 '../ui/gfx/gfx.gyp:gfx',
555 '../ui/gfx/gfx.gyp:gfx_test_support', 556 '../ui/gfx/gfx.gyp:gfx_test_support',
556 'mojo_base.gyp:mojo_environment_chromium', 557 'mojo_base.gyp:mojo_environment_chromium',
557 'mojo_geometry_bindings', 558 'mojo_geometry_bindings',
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 'services/view_manager/context_factory_impl.cc', 736 'services/view_manager/context_factory_impl.cc',
736 'services/view_manager/context_factory_impl.h', 737 'services/view_manager/context_factory_impl.h',
737 'services/view_manager/window_tree_host_impl.cc', 738 'services/view_manager/window_tree_host_impl.cc',
738 'services/view_manager/window_tree_host_impl.h', 739 'services/view_manager/window_tree_host_impl.h',
739 ], 740 ],
740 'defines': [ 741 'defines': [
741 'MOJO_VIEW_MANAGER_IMPLEMENTATION', 742 'MOJO_VIEW_MANAGER_IMPLEMENTATION',
742 ], 743 ],
743 }, 744 },
744 { 745 {
746 # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittest s
745 'target_name': 'mojo_view_manager_run_unittests', 747 'target_name': 'mojo_view_manager_run_unittests',
746 'type': 'static_library', 748 'type': 'static_library',
747 'dependencies': [ 749 'dependencies': [
748 '../base/base.gyp:base', 750 '../base/base.gyp:base',
749 '../base/base.gyp:test_support_base', 751 '../base/base.gyp:test_support_base',
750 '../ui/gl/gl.gyp:gl', 752 '../ui/gl/gl.gyp:gl',
751 ], 753 ],
752 'sources': [ 754 'sources': [
753 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc', 755 'services/public/cpp/view_manager/lib/view_manager_test_suite.cc',
754 'services/public/cpp/view_manager/lib/view_manager_test_suite.h', 756 'services/public/cpp/view_manager/lib/view_manager_test_suite.h',
755 'services/public/cpp/view_manager/lib/view_manager_unittests.cc', 757 'services/public/cpp/view_manager/lib/view_manager_unittests.cc',
756 ], 758 ],
757 'conditions': [ 759 'conditions': [
758 ['OS=="linux"', { 760 ['OS=="linux"', {
759 'dependencies': [ 761 'dependencies': [
760 '../third_party/mesa/mesa.gyp:osmesa', 762 '../third_party/mesa/mesa.gyp:osmesa',
761 'mojo_native_viewport_service_lib', 763 'mojo_native_viewport_service_lib',
762 ], 764 ],
763 }], 765 }],
764 ['use_x11==1', { 766 ['use_x11==1', {
765 'dependencies': [ 767 'dependencies': [
766 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', 768 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
767 ], 769 ],
768 }], 770 }],
769 ], 771 ],
770 }, 772 },
771 { 773 {
774 # GN version: //mojo/services/view_manager:mojo_view_manager_unittests
772 'target_name': 'mojo_view_manager_unittests', 775 'target_name': 'mojo_view_manager_unittests',
773 'type': 'executable', 776 'type': 'executable',
774 'dependencies': [ 777 'dependencies': [
775 '../base/base.gyp:base', 778 '../base/base.gyp:base',
776 '../base/base.gyp:test_support_base', 779 '../base/base.gyp:test_support_base',
777 '../skia/skia.gyp:skia', 780 '../skia/skia.gyp:skia',
778 '../testing/gtest.gyp:gtest', 781 '../testing/gtest.gyp:gtest',
779 '../ui/aura/aura.gyp:aura', 782 '../ui/aura/aura.gyp:aura',
780 '../ui/gfx/gfx.gyp:gfx_geometry', 783 '../ui/gfx/gfx.gyp:gfx_geometry',
781 '../ui/gl/gl.gyp:gl', 784 '../ui/gl/gl.gyp:gl',
(...skipping 16 matching lines...) Expand all
798 ], 801 ],
799 }, 802 },
800 { 803 {
801 'target_name': 'package_mojo_view_manager', 804 'target_name': 'package_mojo_view_manager',
802 'variables': { 805 'variables': {
803 'app_name': 'mojo_view_manager', 806 'app_name': 'mojo_view_manager',
804 }, 807 },
805 'includes': [ 'build/package_app.gypi' ], 808 'includes': [ 'build/package_app.gypi' ],
806 }, 809 },
807 { 810 {
811 # GN version: //mojo/services/window_manager:lib
808 'target_name': 'mojo_core_window_manager_lib', 812 'target_name': 'mojo_core_window_manager_lib',
809 'type': 'static_library', 813 'type': 'static_library',
810 'dependencies': [ 814 'dependencies': [
811 '../base/base.gyp:base', 815 '../base/base.gyp:base',
812 '../ui/base/ui_base.gyp:ui_base', 816 '../ui/base/ui_base.gyp:ui_base',
813 '../ui/gfx/gfx.gyp:gfx', 817 '../ui/gfx/gfx.gyp:gfx',
814 '../ui/gfx/gfx.gyp:gfx_geometry', 818 '../ui/gfx/gfx.gyp:gfx_geometry',
815 '../ui/wm/wm.gyp:wm', 819 '../ui/wm/wm.gyp:wm',
816 'mojo_base.gyp:mojo_common_lib', 820 'mojo_base.gyp:mojo_common_lib',
817 'mojo_base.gyp:mojo_application_chromium', 821 'mojo_base.gyp:mojo_application_chromium',
818 'mojo_aura_support', 822 'mojo_aura_support',
819 'mojo_core_window_manager_bindings', 823 'mojo_core_window_manager_bindings',
820 'mojo_input_events_lib', 824 'mojo_input_events_lib',
821 'mojo_view_manager_lib', 825 'mojo_view_manager_lib',
822 ], 826 ],
823 'sources': [ 827 'sources': [
824 'services/window_manager/window_manager_app.cc', 828 'services/window_manager/window_manager_app.cc',
825 'services/window_manager/window_manager_app.h', 829 'services/window_manager/window_manager_app.h',
826 'services/window_manager/window_manager_service_impl.cc', 830 'services/window_manager/window_manager_service_impl.cc',
827 'services/window_manager/window_manager_service_impl.h', 831 'services/window_manager/window_manager_service_impl.h',
828 ], 832 ],
829 }, 833 },
830 { 834 {
835 # GN version: //mojo/services/window_manager
831 'target_name': 'mojo_core_window_manager', 836 'target_name': 'mojo_core_window_manager',
832 'type': 'loadable_module', 837 'type': 'loadable_module',
833 'dependencies': [ 838 'dependencies': [
834 'mojo_core_window_manager_lib', 839 'mojo_core_window_manager_lib',
835 '<(mojo_system_for_loadable_module)', 840 '<(mojo_system_for_loadable_module)',
836 ], 841 ],
837 'sources': [ 842 'sources': [
838 'services/window_manager/main.cc', 843 'services/window_manager/main.cc',
839 ], 844 ],
840 }, 845 },
841 { 846 {
847 # GN version: //mojo/services/window_manager:mojo_core_window_manager_ unittests
842 'target_name': 'mojo_core_window_manager_unittests', 848 'target_name': 'mojo_core_window_manager_unittests',
843 'type': 'executable', 849 'type': 'executable',
844 'dependencies': [ 850 'dependencies': [
845 '../base/base.gyp:test_support_base', 851 '../base/base.gyp:test_support_base',
846 '../testing/gtest.gyp:gtest', 852 '../testing/gtest.gyp:gtest',
847 '../ui/gl/gl.gyp:gl', 853 '../ui/gl/gl.gyp:gl',
848 'mojo_application_manager', 854 'mojo_application_manager',
849 'mojo_base.gyp:mojo_system_impl', 855 'mojo_base.gyp:mojo_system_impl',
850 'mojo_base.gyp:mojo_environment_chromium', 856 'mojo_base.gyp:mojo_environment_chromium',
851 'mojo_core_window_manager_bindings', 857 'mojo_core_window_manager_bindings',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 'mojo_echo_bindings', 895 'mojo_echo_bindings',
890 ], 896 ],
891 'sources': [ 897 'sources': [
892 'services/dbus_echo/dbus_echo_service.cc', 898 'services/dbus_echo/dbus_echo_service.cc',
893 ], 899 ],
894 }, 900 },
895 ], 901 ],
896 }], 902 }],
897 ], 903 ],
898 } 904 }
OLDNEW
« no previous file with comments | « mojo/mojo_base.gyp ('k') | mojo/public/cpp/application/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698