| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//ui/base/ui_features.gni") | 8 import("//ui/base/ui_features.gni") |
| 9 import("//ui/ozone/ozone.gni") | 9 import("//ui/ozone/ozone.gni") |
| 10 import("//ui/vector_icons/vector_icons.gni") | 10 import("//ui/vector_icons/vector_icons.gni") |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 icons += [ | 33 icons += [ |
| 34 "combobox_arrow_mac_enabled.icon", | 34 "combobox_arrow_mac_enabled.icon", |
| 35 "combobox_arrow_mac_disabled.icon", | 35 "combobox_arrow_mac_disabled.icon", |
| 36 ] | 36 ] |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 | 39 |
| 40 component("views") { | 40 component("views") { |
| 41 all_dependent_configs = [ ":flags" ] | 41 all_dependent_configs = [ ":flags" ] |
| 42 sources = [ | 42 sources = [ |
| 43 "accessibility/native_view_accessibility.cc", | |
| 44 "accessibility/native_view_accessibility.h", | 43 "accessibility/native_view_accessibility.h", |
| 45 "accessibility/native_view_accessibility_mac.h", | |
| 46 "accessibility/native_view_accessibility_mac.mm", | |
| 47 "accessibility/native_view_accessibility_win.cc", | |
| 48 "accessibility/native_view_accessibility_win.h", | |
| 49 "accessible_pane_view.cc", | 44 "accessible_pane_view.cc", |
| 50 "accessible_pane_view.h", | 45 "accessible_pane_view.h", |
| 51 "animation/bounds_animator.cc", | 46 "animation/bounds_animator.cc", |
| 52 "animation/bounds_animator.h", | 47 "animation/bounds_animator.h", |
| 53 "animation/flood_fill_ink_drop_ripple.cc", | 48 "animation/flood_fill_ink_drop_ripple.cc", |
| 54 "animation/flood_fill_ink_drop_ripple.h", | 49 "animation/flood_fill_ink_drop_ripple.h", |
| 55 "animation/ink_drop.cc", | 50 "animation/ink_drop.cc", |
| 56 "animation/ink_drop.h", | 51 "animation/ink_drop.h", |
| 57 "animation/ink_drop_animation_ended_reason.cc", | 52 "animation/ink_drop_animation_ended_reason.cc", |
| 58 "animation/ink_drop_animation_ended_reason.h", | 53 "animation/ink_drop_animation_ended_reason.h", |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 "//ui/accelerated_widget_mac", | 651 "//ui/accelerated_widget_mac", |
| 657 "//ui/events:dom_keycode_converter", | 652 "//ui/events:dom_keycode_converter", |
| 658 ] | 653 ] |
| 659 libs = [ | 654 libs = [ |
| 660 "AppKit.framework", | 655 "AppKit.framework", |
| 661 "CoreGraphics.framework", | 656 "CoreGraphics.framework", |
| 662 "Foundation.framework", | 657 "Foundation.framework", |
| 663 "QuartzCore.framework", # Required by bridged_native_widget.mm. | 658 "QuartzCore.framework", # Required by bridged_native_widget.mm. |
| 664 ] | 659 ] |
| 665 } | 660 } |
| 661 |
| 662 if (has_native_accessibility) { |
| 663 sources += [ |
| 664 "accessibility/native_view_accessibility_base.cc", |
| 665 "accessibility/native_view_accessibility_base.h", |
| 666 "accessibility/native_view_accessibility_mac.h", |
| 667 "accessibility/native_view_accessibility_mac.mm", |
| 668 "accessibility/native_view_accessibility_win.cc", |
| 669 "accessibility/native_view_accessibility_win.h", |
| 670 ] |
| 671 } else { |
| 672 sources += [ "accessibility/native_view_accessibility_stub.cc" ] |
| 673 } |
| 666 } | 674 } |
| 667 | 675 |
| 668 static_library("test_support_internal") { | 676 static_library("test_support_internal") { |
| 669 testonly = true | 677 testonly = true |
| 670 sources = [ | 678 sources = [ |
| 671 "animation/test/flood_fill_ink_drop_ripple_test_api.cc", | 679 "animation/test/flood_fill_ink_drop_ripple_test_api.cc", |
| 672 "animation/test/flood_fill_ink_drop_ripple_test_api.h", | 680 "animation/test/flood_fill_ink_drop_ripple_test_api.h", |
| 673 "animation/test/ink_drop_highlight_test_api.cc", | 681 "animation/test/ink_drop_highlight_test_api.cc", |
| 674 "animation/test/ink_drop_highlight_test_api.h", | 682 "animation/test/ink_drop_highlight_test_api.h", |
| 675 "animation/test/ink_drop_host_view_test_api.cc", | 683 "animation/test/ink_drop_host_view_test_api.cc", |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 sources = [ | 831 sources = [ |
| 824 "test/native_widget_factory_desktop.cc", | 832 "test/native_widget_factory_desktop.cc", |
| 825 ] | 833 ] |
| 826 } | 834 } |
| 827 | 835 |
| 828 # This target contains the unit tests that are shared between views_unittests | 836 # This target contains the unit tests that are shared between views_unittests |
| 829 # and views_mus_unittests. | 837 # and views_mus_unittests. |
| 830 source_set("views_unittests_sources") { | 838 source_set("views_unittests_sources") { |
| 831 testonly = true | 839 testonly = true |
| 832 sources = [ | 840 sources = [ |
| 833 "accessibility/native_view_accessibility_unittest.cc", | |
| 834 "accessibility/native_view_accessibility_win_unittest.cc", | 841 "accessibility/native_view_accessibility_win_unittest.cc", |
| 835 "accessible_pane_view_unittest.cc", | 842 "accessible_pane_view_unittest.cc", |
| 836 "animation/bounds_animator_unittest.cc", | 843 "animation/bounds_animator_unittest.cc", |
| 837 "animation/flood_fill_ink_drop_ripple_unittest.cc", | 844 "animation/flood_fill_ink_drop_ripple_unittest.cc", |
| 838 "animation/ink_drop_highlight_unittest.cc", | 845 "animation/ink_drop_highlight_unittest.cc", |
| 839 "animation/ink_drop_host_view_unittest.cc", | 846 "animation/ink_drop_host_view_unittest.cc", |
| 840 "animation/ink_drop_impl_unittest.cc", | 847 "animation/ink_drop_impl_unittest.cc", |
| 841 "animation/ink_drop_ripple_unittest.cc", | 848 "animation/ink_drop_ripple_unittest.cc", |
| 842 "animation/ink_drop_unittest.cc", | 849 "animation/ink_drop_unittest.cc", |
| 843 "animation/square_ink_drop_ripple_unittest.cc", | 850 "animation/square_ink_drop_ripple_unittest.cc", |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 948 "//third_party/iaccessible2", | 955 "//third_party/iaccessible2", |
| 949 "//third_party/wtl", | 956 "//third_party/wtl", |
| 950 ] | 957 ] |
| 951 libs = [ | 958 libs = [ |
| 952 "imm32.lib", | 959 "imm32.lib", |
| 953 "oleacc.lib", | 960 "oleacc.lib", |
| 954 "comctl32.lib", | 961 "comctl32.lib", |
| 955 ] | 962 ] |
| 956 } | 963 } |
| 957 | 964 |
| 965 if (has_native_accessibility) { |
| 966 sources += [ "accessibility/native_view_accessibility_unittest.cc" ] |
| 967 } |
| 968 |
| 958 if (use_x11) { | 969 if (use_x11) { |
| 959 configs += [ | 970 configs += [ |
| 960 "//build/config/linux:x11", | 971 "//build/config/linux:x11", |
| 961 "//build/config/linux:xext", | 972 "//build/config/linux:xext", |
| 962 ] | 973 ] |
| 963 public_deps += [ | 974 public_deps += [ |
| 964 "//ui/events/devices", | 975 "//ui/events/devices", |
| 965 "//ui/events/platform/x11", | 976 "//ui/events/platform/x11", |
| 966 "//ui/gfx/x", | 977 "//ui/gfx/x", |
| 967 ] | 978 ] |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1052 "//ui/base:test_support", | 1063 "//ui/base:test_support", |
| 1053 "//ui/compositor", | 1064 "//ui/compositor", |
| 1054 "//ui/events:test_support", | 1065 "//ui/events:test_support", |
| 1055 "//ui/gl:test_support", | 1066 "//ui/gl:test_support", |
| 1056 "//ui/resources", | 1067 "//ui/resources", |
| 1057 "//ui/resources:ui_test_pak", | 1068 "//ui/resources:ui_test_pak", |
| 1058 "//ui/strings", | 1069 "//ui/strings", |
| 1059 ] | 1070 ] |
| 1060 } | 1071 } |
| 1061 } | 1072 } |
| OLD | NEW |