OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 # Sources lists shared with GN build. | 7 # Sources lists shared with GN build. |
8 'views_sources': [ | 8 'views_sources': [ |
9 'accessibility/native_view_accessibility.cc', | 9 'accessibility/native_view_accessibility.cc', |
10 'accessibility/native_view_accessibility.h', | 10 'accessibility/native_view_accessibility.h', |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 'test/test_views_delegate.h', | 478 'test/test_views_delegate.h', |
479 'test/test_views_delegate_mac.mm', | 479 'test/test_views_delegate_mac.mm', |
480 'test/test_widget_observer.cc', | 480 'test/test_widget_observer.cc', |
481 'test/test_widget_observer.h', | 481 'test/test_widget_observer.h', |
482 'test/views_test_base.cc', | 482 'test/views_test_base.cc', |
483 'test/views_test_base.h', | 483 'test/views_test_base.h', |
484 'test/views_test_helper.cc', | 484 'test/views_test_helper.cc', |
485 'test/views_test_helper.h', | 485 'test/views_test_helper.h', |
486 'test/views_test_helper_mac.h', | 486 'test/views_test_helper_mac.h', |
487 'test/views_test_helper_mac.mm', | 487 'test/views_test_helper_mac.mm', |
| 488 'test/views_test_suite.cc', |
| 489 'test/views_test_suite.h', |
488 'test/widget_test.cc', | 490 'test/widget_test.cc', |
489 'test/widget_test.h', | 491 'test/widget_test.h', |
490 'test/widget_test_mac.mm', | 492 'test/widget_test_mac.mm', |
491 'test/x11_property_change_waiter.cc', | 493 'test/x11_property_change_waiter.cc', |
492 'test/x11_property_change_waiter.h', | 494 'test/x11_property_change_waiter.h', |
493 ], | 495 ], |
494 'views_test_support_aura_sources': [ | 496 'views_test_support_aura_sources': [ |
495 'corewm/tooltip_controller_test_helper.cc', | 497 'corewm/tooltip_controller_test_helper.cc', |
496 'corewm/tooltip_controller_test_helper.h', | 498 'corewm/tooltip_controller_test_helper.h', |
497 'test/desktop_test_views_delegate_aura.cc', | 499 'test/desktop_test_views_delegate_aura.cc', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 'controls/table/test_table_model.h', | 546 'controls/table/test_table_model.h', |
545 'controls/textfield/textfield_model_unittest.cc', | 547 'controls/textfield/textfield_model_unittest.cc', |
546 'controls/textfield/textfield_unittest.cc', | 548 'controls/textfield/textfield_unittest.cc', |
547 'controls/tree/tree_view_unittest.cc', | 549 'controls/tree/tree_view_unittest.cc', |
548 'event_monitor_unittest.cc', | 550 'event_monitor_unittest.cc', |
549 'focus/focus_manager_unittest.cc', | 551 'focus/focus_manager_unittest.cc', |
550 'focus/focus_traversal_unittest.cc', | 552 'focus/focus_traversal_unittest.cc', |
551 'layout/box_layout_unittest.cc', | 553 'layout/box_layout_unittest.cc', |
552 'layout/grid_layout_unittest.cc', | 554 'layout/grid_layout_unittest.cc', |
553 'rect_based_targeting_utils_unittest.cc', | 555 'rect_based_targeting_utils_unittest.cc', |
554 'run_all_unittests.cc', | 556 'test/run_all_unittests.cc', |
555 'view_model_unittest.cc', | 557 'view_model_unittest.cc', |
556 'view_model_utils_unittest.cc', | 558 'view_model_utils_unittest.cc', |
557 'view_targeter_unittest.cc', | 559 'view_targeter_unittest.cc', |
558 'view_unittest.cc', | 560 'view_unittest.cc', |
559 'widget/native_widget_mac_unittest.mm', | 561 'widget/native_widget_mac_unittest.mm', |
560 'widget/native_widget_unittest.cc', | 562 'widget/native_widget_unittest.cc', |
561 'widget/root_view_unittest.cc', | 563 'widget/root_view_unittest.cc', |
562 'widget/widget_unittest.cc', | 564 'widget/widget_unittest.cc', |
563 'widget/window_reorderer_unittest.cc', | 565 'widget/window_reorderer_unittest.cc', |
564 'window/custom_frame_view_unittest.cc', | 566 'window/custom_frame_view_unittest.cc', |
(...skipping 13 matching lines...) Expand all Loading... |
578 ], | 580 ], |
579 'views_unittests_desktop_aura_sources': [ | 581 'views_unittests_desktop_aura_sources': [ |
580 'widget/desktop_aura/desktop_focus_rules_unittest.cc', | 582 'widget/desktop_aura/desktop_focus_rules_unittest.cc', |
581 'widget/desktop_aura/desktop_native_widget_aura_unittest.cc', | 583 'widget/desktop_aura/desktop_native_widget_aura_unittest.cc', |
582 ], | 584 ], |
583 'views_unittests_desktop_aurax11_sources': [ | 585 'views_unittests_desktop_aurax11_sources': [ |
584 'widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc', | 586 'widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc', |
585 'widget/desktop_aura/desktop_screen_x11_unittest.cc', | 587 'widget/desktop_aura/desktop_screen_x11_unittest.cc', |
586 'widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc', | 588 'widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc', |
587 ], | 589 ], |
| 590 'views_perftests_sources': [ |
| 591 'controls/button/label_button_perftest.cc', |
| 592 'test/run_all_perftests.cc', |
| 593 ], |
588 }, | 594 }, |
589 'targets': [ | 595 'targets': [ |
590 { | 596 { |
591 # GN version: //ui/views | 597 # GN version: //ui/views |
592 'target_name': 'views', | 598 'target_name': 'views', |
593 'type': '<(component)', | 599 'type': '<(component)', |
594 'dependencies': [ | 600 'dependencies': [ |
595 '../../base/base.gyp:base', | 601 '../../base/base.gyp:base', |
596 '../../base/base.gyp:base_i18n', | 602 '../../base/base.gyp:base_i18n', |
597 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 603 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 }, | 747 }, |
742 }], | 748 }], |
743 ], | 749 ], |
744 }, # target_name: views | 750 }, # target_name: views |
745 { | 751 { |
746 # GN version: //ui/views:test_support | 752 # GN version: //ui/views:test_support |
747 'target_name': 'views_test_support', | 753 'target_name': 'views_test_support', |
748 'type': 'static_library', | 754 'type': 'static_library', |
749 'dependencies': [ | 755 'dependencies': [ |
750 '../../base/base.gyp:base', | 756 '../../base/base.gyp:base', |
| 757 '../../base/base.gyp:test_support_base', |
751 '../../ipc/ipc.gyp:test_support_ipc', | 758 '../../ipc/ipc.gyp:test_support_ipc', |
752 '../../skia/skia.gyp:skia', | 759 '../../skia/skia.gyp:skia', |
753 '../../testing/gtest.gyp:gtest', | 760 '../../testing/gtest.gyp:gtest', |
754 '../base/ime/ui_base_ime.gyp:ui_base_ime', | 761 '../base/ime/ui_base_ime.gyp:ui_base_ime', |
755 '../base/ui_base.gyp:ui_base', | 762 '../base/ui_base.gyp:ui_base', |
756 '../compositor/compositor.gyp:compositor', | 763 '../compositor/compositor.gyp:compositor', |
757 '../compositor/compositor.gyp:compositor_test_support', | 764 '../compositor/compositor.gyp:compositor_test_support', |
758 '../events/events.gyp:events', | 765 '../events/events.gyp:events', |
759 '../events/events.gyp:events_test_support', | 766 '../events/events.gyp:events_test_support', |
760 '../events/platform/events_platform.gyp:events_platform', | 767 '../events/platform/events_platform.gyp:events_platform', |
761 '../gfx/gfx.gyp:gfx', | 768 '../gfx/gfx.gyp:gfx', |
762 '../gfx/gfx.gyp:gfx_geometry', | 769 '../gfx/gfx.gyp:gfx_geometry', |
| 770 '../resources/ui_resources.gyp:ui_resources', |
| 771 '../resources/ui_resources.gyp:ui_test_pak', |
| 772 '../strings/ui_strings.gyp:ui_strings', |
763 'resources/views_resources.gyp:views_resources', | 773 'resources/views_resources.gyp:views_resources', |
764 'views', | 774 'views', |
765 ], | 775 ], |
766 'include_dirs': [ | 776 'include_dirs': [ |
767 '..', | 777 '..', |
768 ], | 778 ], |
769 'sources': [ | 779 'sources': [ |
770 '<@(views_test_support_sources)', | 780 '<@(views_test_support_sources)', |
771 ], | 781 ], |
772 'conditions': [ | 782 'conditions': [ |
(...skipping 26 matching lines...) Expand all Loading... |
799 '../accessibility/accessibility.gyp:accessibility', | 809 '../accessibility/accessibility.gyp:accessibility', |
800 '../base/ime/ui_base_ime.gyp:ui_base_ime', | 810 '../base/ime/ui_base_ime.gyp:ui_base_ime', |
801 '../base/ui_base.gyp:ui_base', | 811 '../base/ui_base.gyp:ui_base', |
802 '../base/ui_base.gyp:ui_base_test_support', | 812 '../base/ui_base.gyp:ui_base_test_support', |
803 '../compositor/compositor.gyp:compositor', | 813 '../compositor/compositor.gyp:compositor', |
804 '../events/events.gyp:events', | 814 '../events/events.gyp:events', |
805 '../events/events.gyp:events_base', | 815 '../events/events.gyp:events_base', |
806 '../events/events.gyp:events_test_support', | 816 '../events/events.gyp:events_test_support', |
807 '../gfx/gfx.gyp:gfx', | 817 '../gfx/gfx.gyp:gfx', |
808 '../gfx/gfx.gyp:gfx_geometry', | 818 '../gfx/gfx.gyp:gfx_geometry', |
809 '../resources/ui_resources.gyp:ui_resources', | |
810 '../resources/ui_resources.gyp:ui_test_pak', | |
811 '../strings/ui_strings.gyp:ui_strings', | |
812 'resources/views_resources.gyp:views_resources', | |
813 'views', | 819 'views', |
814 'views_test_support', | 820 'views_test_support', |
815 ], | 821 ], |
816 'include_dirs': [ | 822 'include_dirs': [ |
817 '..', | 823 '..', |
818 ], | 824 ], |
819 'sources': [ | 825 'sources': [ |
820 '<@(views_unittests_sources)', | 826 '<@(views_unittests_sources)', |
821 ], | 827 ], |
822 'conditions': [ | 828 'conditions': [ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 ['OS=="mac"', { | 895 ['OS=="mac"', { |
890 # views_unittests not yet compiling on Mac. http://crbug.com/378134 | 896 # views_unittests not yet compiling on Mac. http://crbug.com/378134 |
891 'sources!': [ | 897 'sources!': [ |
892 'bubble/bubble_window_targeter_unittest.cc', | 898 'bubble/bubble_window_targeter_unittest.cc', |
893 'controls/native/native_view_host_unittest.cc', | 899 'controls/native/native_view_host_unittest.cc', |
894 'widget/window_reorderer_unittest.cc', | 900 'widget/window_reorderer_unittest.cc', |
895 ] | 901 ] |
896 }], | 902 }], |
897 ], | 903 ], |
898 }, # target_name: views_unittests | 904 }, # target_name: views_unittests |
| 905 { |
| 906 # GN version: //ui/views:views_perftests |
| 907 'target_name': 'views_perftests', |
| 908 'type': 'executable', |
| 909 'dependencies': [ |
| 910 '../../base/base.gyp:test_support_base', |
| 911 '../../skia/skia.gyp:skia', |
| 912 '../../testing/gtest.gyp:gtest', |
| 913 '../compositor/compositor.gyp:compositor', |
| 914 '../gfx/gfx.gyp:gfx_geometry', |
| 915 'views', |
| 916 'views_test_support', |
| 917 ], |
| 918 'include_dirs': [ |
| 919 '..', |
| 920 ], |
| 921 'sources': [ |
| 922 '<@(views_perftests_sources)', |
| 923 ], |
| 924 'conditions': [ |
| 925 ['OS=="win"', { |
| 926 'dependencies': [ |
| 927 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', |
| 928 ], |
| 929 'link_settings': { |
| 930 'libraries': [ |
| 931 '-limm32.lib', |
| 932 '-loleacc.lib', |
| 933 '-lcomctl32.lib', |
| 934 ] |
| 935 }, |
| 936 'include_dirs': [ |
| 937 '../third_party/wtl/include', |
| 938 ], |
| 939 'msvs_settings': { |
| 940 'VCManifestTool': { |
| 941 'AdditionalManifestFiles': [ |
| 942 '$(ProjectDir)\\test\\views_unittest.manifest', |
| 943 ], |
| 944 }, |
| 945 }, |
| 946 }], |
| 947 ], |
| 948 }, # target_name: views_perftests |
899 ], # targets | 949 ], # targets |
900 'conditions': [ | 950 'conditions': [ |
901 ['OS=="mac"', { | 951 ['OS=="mac"', { |
902 'targets': [ | 952 'targets': [ |
903 { | 953 { |
904 # GN version: //ui/views:macviews_interactive_ui_tests | 954 # GN version: //ui/views:macviews_interactive_ui_tests |
905 'target_name': 'macviews_interactive_ui_tests', | 955 'target_name': 'macviews_interactive_ui_tests', |
906 'type': 'executable', | 956 'type': 'executable', |
907 'dependencies': [ | 957 'dependencies': [ |
908 '../../base/base.gyp:base', | 958 '../../base/base.gyp:base', |
(...skipping 19 matching lines...) Expand all Loading... |
928 '../aura/aura.gyp:aura', | 978 '../aura/aura.gyp:aura', |
929 '../wm/wm.gyp:wm', | 979 '../wm/wm.gyp:wm', |
930 ], | 980 ], |
931 }], | 981 }], |
932 ], | 982 ], |
933 }, # target_name: macviews_interactive_ui_tests | 983 }, # target_name: macviews_interactive_ui_tests |
934 ], # targets | 984 ], # targets |
935 }], | 985 }], |
936 ], # conditions | 986 ], # conditions |
937 } | 987 } |
OLD | NEW |