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/ozone/ozone.gni") |
8 | 9 |
9 config("flags") { | 10 config("flags") { |
10 defines = [ "TOOLKIT_VIEWS=1" ] | 11 defines = [ "TOOLKIT_VIEWS=1" ] |
11 } | 12 } |
12 | 13 |
13 component("views") { | 14 component("views") { |
14 all_dependent_configs = [ ":flags" ] | 15 all_dependent_configs = [ ":flags" ] |
15 sources = [ | 16 sources = [ |
16 "accessibility/native_view_accessibility.cc", | 17 "accessibility/native_view_accessibility.cc", |
17 "accessibility/native_view_accessibility.h", | 18 "accessibility/native_view_accessibility.h", |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 "test/test_desktop_screen_x11.cc", | 760 "test/test_desktop_screen_x11.cc", |
760 "test/test_desktop_screen_x11.h", | 761 "test/test_desktop_screen_x11.h", |
761 "test/ui_controls_factory_desktop_aurax11.cc", | 762 "test/ui_controls_factory_desktop_aurax11.cc", |
762 "test/ui_controls_factory_desktop_aurax11.h", | 763 "test/ui_controls_factory_desktop_aurax11.h", |
763 ] | 764 ] |
764 } | 765 } |
765 } | 766 } |
766 if (use_x11) { | 767 if (use_x11) { |
767 deps += [ "//ui/gfx/x" ] | 768 deps += [ "//ui/gfx/x" ] |
768 } | 769 } |
| 770 if (ozone_platform_x11) { |
| 771 deps += [ "//ui/base/x" ] |
| 772 } |
769 if (use_ozone || !use_x11) { | 773 if (use_ozone || !use_x11) { |
770 sources -= [ | 774 sources -= [ |
771 "test/x11_property_change_waiter.cc", | 775 "test/x11_property_change_waiter.cc", |
772 "test/x11_property_change_waiter.h", | 776 "test/x11_property_change_waiter.h", |
773 ] | 777 ] |
774 } | 778 } |
775 } | 779 } |
776 | 780 |
777 static_library("test_support") { | 781 static_library("test_support") { |
778 testonly = true | 782 testonly = true |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 "//ui/base:test_support", | 1011 "//ui/base:test_support", |
1008 "//ui/compositor", | 1012 "//ui/compositor", |
1009 "//ui/events:test_support", | 1013 "//ui/events:test_support", |
1010 "//ui/gl:test_support", | 1014 "//ui/gl:test_support", |
1011 "//ui/resources", | 1015 "//ui/resources", |
1012 "//ui/resources:ui_test_pak", | 1016 "//ui/resources:ui_test_pak", |
1013 "//ui/strings", | 1017 "//ui/strings", |
1014 ] | 1018 ] |
1015 } | 1019 } |
1016 } | 1020 } |
OLD | NEW |