| Index: ui/aura/BUILD.gn
|
| diff --git a/ui/aura/BUILD.gn b/ui/aura/BUILD.gn
|
| index c06a9e1dc3d8b1ac68d5a3bce07fe9bb89f843e7..d5ad05fc59a80ca4722b10844285cb7e4db99b66 100644
|
| --- a/ui/aura/BUILD.gn
|
| +++ b/ui/aura/BUILD.gn
|
| @@ -185,25 +185,19 @@ source_set("test_support") {
|
| ]
|
|
|
| if (is_win) {
|
| + sources += [ "test/ui_controls_factory_aurawin.cc" ]
|
| +
|
| cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| }
|
|
|
| if (use_x11) {
|
| - deps += [ "//ui/gfx/x" ]
|
| - }
|
| -
|
| - if (use_aura) {
|
| - if (is_win) {
|
| - sources += [ "test/ui_controls_factory_aurawin.cc" ]
|
| - }
|
| + sources += [
|
| + "test/ui_controls_factory_aurax11.cc",
|
| + "test/x11_event_sender.cc",
|
| + "test/x11_event_sender.h",
|
| + ]
|
|
|
| - if (use_x11) {
|
| - sources += [
|
| - "test/ui_controls_factory_aurax11.cc",
|
| - "test/x11_event_sender.cc",
|
| - "test/x11_event_sender.h",
|
| - ]
|
| - }
|
| + deps += [ "//ui/gfx/x" ]
|
| }
|
| }
|
|
|
|
|