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 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 "test/desktop_screen_x11_test_api.cc", | 744 "test/desktop_screen_x11_test_api.cc", |
744 "test/desktop_screen_x11_test_api.h", | 745 "test/desktop_screen_x11_test_api.h", |
745 "test/ui_controls_factory_desktop_aurax11.cc", | 746 "test/ui_controls_factory_desktop_aurax11.cc", |
746 "test/ui_controls_factory_desktop_aurax11.h", | 747 "test/ui_controls_factory_desktop_aurax11.h", |
747 ] | 748 ] |
748 } | 749 } |
749 } | 750 } |
750 if (use_x11) { | 751 if (use_x11) { |
751 deps += [ "//ui/gfx/x" ] | 752 deps += [ "//ui/gfx/x" ] |
752 } | 753 } |
| 754 if (ozone_platform_x11) { |
| 755 deps += [ "//ui/base/x" ] |
| 756 } |
753 if (use_ozone || !use_x11) { | 757 if (use_ozone || !use_x11) { |
754 sources -= [ | 758 sources -= [ |
755 "test/x11_property_change_waiter.cc", | 759 "test/x11_property_change_waiter.cc", |
756 "test/x11_property_change_waiter.h", | 760 "test/x11_property_change_waiter.h", |
757 ] | 761 ] |
758 } | 762 } |
759 } | 763 } |
760 | 764 |
761 static_library("test_support") { | 765 static_library("test_support") { |
762 testonly = true | 766 testonly = true |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 "//ui/base:test_support", | 995 "//ui/base:test_support", |
992 "//ui/compositor", | 996 "//ui/compositor", |
993 "//ui/events:test_support", | 997 "//ui/events:test_support", |
994 "//ui/gl:test_support", | 998 "//ui/gl:test_support", |
995 "//ui/resources", | 999 "//ui/resources", |
996 "//ui/resources:ui_test_pak", | 1000 "//ui/resources:ui_test_pak", |
997 "//ui/strings", | 1001 "//ui/strings", |
998 ] | 1002 ] |
999 } | 1003 } |
1000 } | 1004 } |
OLD | NEW |