| OLD | NEW | 
|    1 # Copyright 2015 The Chromium Authors. All rights reserved. |    1 # Copyright 2015 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("//chrome/common/features.gni") | 
|    5 import("//build/config/ui.gni") |    6 import("//build/config/ui.gni") | 
|    6 import("//testing/test.gni") |    7 import("//testing/test.gni") | 
|    7  |    8  | 
|    8 source_set("exo") { |    9 source_set("exo") { | 
|    9   sources = [ |   10   sources = [ | 
|   10     "buffer.cc", |   11     "buffer.cc", | 
|   11     "buffer.h", |   12     "buffer.h", | 
|   12     "compositor_frame_sink_holder.cc", |   13     "compositor_frame_sink_holder.cc", | 
|   13     "compositor_frame_sink_holder.h", |   14     "compositor_frame_sink_holder.h", | 
|   14     "display.cc", |   15     "display.cc", | 
|   15     "display.h", |   16     "display.h", | 
|   16     "gaming_seat.cc", |  | 
|   17     "gaming_seat.h", |   17     "gaming_seat.h", | 
|   18     "keyboard.cc", |   18     "keyboard.cc", | 
|   19     "keyboard.h", |   19     "keyboard.h", | 
|   20     "keyboard_delegate.h", |   20     "keyboard_delegate.h", | 
|   21     "keyboard_device_configuration_delegate.h", |   21     "keyboard_device_configuration_delegate.h", | 
|   22     "notification_surface.cc", |   22     "notification_surface.cc", | 
|   23     "notification_surface.h", |   23     "notification_surface.h", | 
|   24     "notification_surface_manager.h", |   24     "notification_surface_manager.h", | 
|   25     "pointer.cc", |   25     "pointer.cc", | 
|   26     "pointer.h", |   26     "pointer.h", | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   63     "//ui/display/manager", |   63     "//ui/display/manager", | 
|   64     "//ui/events/devices:devices", |   64     "//ui/events/devices:devices", | 
|   65     "//ui/gfx", |   65     "//ui/gfx", | 
|   66     "//ui/gfx/geometry", |   66     "//ui/gfx/geometry", | 
|   67     "//ui/gl", |   67     "//ui/gl", | 
|   68     "//ui/views", |   68     "//ui/views", | 
|   69     "//ui/views/mus", |   69     "//ui/views/mus", | 
|   70     "//ui/wm", |   70     "//ui/wm", | 
|   71   ] |   71   ] | 
|   72  |   72  | 
|   73   if (use_ozone) { |   73   if (enable_exo_ozone_gamepad) { | 
 |   74     defines = [ "USE_OZONE_GAMEPAD" ] | 
 |   75     sources += [ "gaming_seat_ozone.cc" ] | 
|   74     deps += [ "//ui/ozone" ] |   76     deps += [ "//ui/ozone" ] | 
 |   77     deps += [ "//ui/events/ozone:events_ozone_evdev" ] | 
 |   78   } else { | 
 |   79     sources += [ "gaming_seat.cc" ] | 
|   75   } |   80   } | 
|   76  |   81  | 
|   77   if (is_chromeos) { |   82   if (is_chromeos) { | 
|   78     deps += [ "//chromeos" ] |   83     deps += [ "//chromeos" ] | 
|   79   } |   84   } | 
|   80 } |   85 } | 
|   81  |   86  | 
|   82 source_set("test_support") { |   87 source_set("test_support") { | 
|   83   testonly = true |   88   testonly = true | 
|   84  |   89  | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
|  104     "//ui/wm:wm", |  109     "//ui/wm:wm", | 
|  105   ] |  110   ] | 
|  106 } |  111 } | 
|  107  |  112  | 
|  108 source_set("unit_tests") { |  113 source_set("unit_tests") { | 
|  109   testonly = true |  114   testonly = true | 
|  110  |  115  | 
|  111   sources = [ |  116   sources = [ | 
|  112     "buffer_unittest.cc", |  117     "buffer_unittest.cc", | 
|  113     "display_unittest.cc", |  118     "display_unittest.cc", | 
|  114     "gaming_seat_unittest.cc", |  | 
|  115     "keyboard_unittest.cc", |  119     "keyboard_unittest.cc", | 
|  116     "pointer_unittest.cc", |  120     "pointer_unittest.cc", | 
|  117     "shared_memory_unittest.cc", |  121     "shared_memory_unittest.cc", | 
|  118     "shell_surface_unittest.cc", |  122     "shell_surface_unittest.cc", | 
|  119     "sub_surface_unittest.cc", |  123     "sub_surface_unittest.cc", | 
|  120     "surface_unittest.cc", |  124     "surface_unittest.cc", | 
|  121     "touch_unittest.cc", |  125     "touch_unittest.cc", | 
|  122   ] |  126   ] | 
|  123  |  127  | 
|  124   deps = [ |  128   deps = [ | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
|  141     "//ui/aura", |  145     "//ui/aura", | 
|  142     "//ui/events:dom_keycode_converter", |  146     "//ui/events:dom_keycode_converter", | 
|  143     "//ui/events:test_support", |  147     "//ui/events:test_support", | 
|  144     "//ui/gfx", |  148     "//ui/gfx", | 
|  145     "//ui/keyboard", |  149     "//ui/keyboard", | 
|  146     "//ui/message_center", |  150     "//ui/message_center", | 
|  147     "//ui/views", |  151     "//ui/views", | 
|  148     "//ui/wm", |  152     "//ui/wm", | 
|  149   ] |  153   ] | 
|  150  |  154  | 
|  151   if (use_ozone) { |  155   if (enable_exo_ozone_gamepad) { | 
|  152     deps += [ "//ui/ozone" ] |  156     sources += [ | 
 |  157       "../../ui/events/ozone/gamepad/gamepad_event.cc", | 
 |  158       "gaming_seat_unittest.cc", | 
 |  159     ] | 
|  153   } |  160   } | 
|  154 } |  161 } | 
|  155  |  162  | 
|  156 test("exo_unittests") { |  163 test("exo_unittests") { | 
|  157   sources = [ |  164   sources = [ | 
|  158     "../../ash/test/ash_test_suite.cc", |  165     "../../ash/test/ash_test_suite.cc", | 
|  159     "../../ash/test/ash_test_suite.h", |  166     "../../ash/test/ash_test_suite.h", | 
|  160     "test/run_all_unittests.cc", |  167     "test/run_all_unittests.cc", | 
|  161   ] |  168   ] | 
|  162  |  169  | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
|  178   data_deps = [ |  185   data_deps = [ | 
|  179     "//ash/strings:ash_test_strings", |  186     "//ash/strings:ash_test_strings", | 
|  180     "//ash/resources:ash_test_resources_100_percent", |  187     "//ash/resources:ash_test_resources_100_percent", | 
|  181     "//ash/resources:ash_test_resources_200_percent", |  188     "//ash/resources:ash_test_resources_200_percent", | 
|  182   ] |  189   ] | 
|  183  |  190  | 
|  184   if (is_linux) { |  191   if (is_linux) { | 
|  185     deps += [ "//components/exo/wayland:unit_tests" ] |  192     deps += [ "//components/exo/wayland:unit_tests" ] | 
|  186   } |  193   } | 
|  187 } |  194 } | 
| OLD | NEW |