| Index: components/exo/BUILD.gn
 | 
| diff --git a/components/exo/BUILD.gn b/components/exo/BUILD.gn
 | 
| index 1b48931fed87d251ba48649098407a661378b7dc..857d90ed16aa16240c41fa5f8a1fa336ed688c0b 100644
 | 
| --- a/components/exo/BUILD.gn
 | 
| +++ b/components/exo/BUILD.gn
 | 
| @@ -2,6 +2,7 @@
 | 
|  # Use of this source code is governed by a BSD-style license that can be
 | 
|  # found in the LICENSE file.
 | 
|  
 | 
| +import("//chrome/common/features.gni")
 | 
|  import("//build/config/ui.gni")
 | 
|  import("//testing/test.gni")
 | 
|  
 | 
| @@ -13,7 +14,6 @@ source_set("exo") {
 | 
|      "compositor_frame_sink_holder.h",
 | 
|      "display.cc",
 | 
|      "display.h",
 | 
| -    "gaming_seat.cc",
 | 
|      "gaming_seat.h",
 | 
|      "keyboard.cc",
 | 
|      "keyboard.h",
 | 
| @@ -70,8 +70,13 @@ source_set("exo") {
 | 
|      "//ui/wm",
 | 
|    ]
 | 
|  
 | 
| -  if (use_ozone) {
 | 
| +  if (enable_exo_ozone_gamepad) {
 | 
| +    defines = [ "USE_OZONE_GAMEPAD" ]
 | 
| +    sources += [ "gaming_seat_ozone.cc" ]
 | 
|      deps += [ "//ui/ozone" ]
 | 
| +    deps += [ "//ui/events/ozone:events_ozone_evdev" ]
 | 
| +  } else {
 | 
| +    sources += [ "gaming_seat.cc" ]
 | 
|    }
 | 
|  
 | 
|    if (is_chromeos) {
 | 
| @@ -111,7 +116,6 @@ source_set("unit_tests") {
 | 
|    sources = [
 | 
|      "buffer_unittest.cc",
 | 
|      "display_unittest.cc",
 | 
| -    "gaming_seat_unittest.cc",
 | 
|      "keyboard_unittest.cc",
 | 
|      "pointer_unittest.cc",
 | 
|      "shared_memory_unittest.cc",
 | 
| @@ -148,8 +152,11 @@ source_set("unit_tests") {
 | 
|      "//ui/wm",
 | 
|    ]
 | 
|  
 | 
| -  if (use_ozone) {
 | 
| -    deps += [ "//ui/ozone" ]
 | 
| +  if (enable_exo_ozone_gamepad) {
 | 
| +    sources += [
 | 
| +      "../../ui/events/ozone/gamepad/gamepad_event.cc",
 | 
| +      "gaming_seat_unittest.cc",
 | 
| +    ]
 | 
|    }
 | 
|  }
 | 
|  
 | 
| 
 |