Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: components/exo/BUILD.gn

Issue 2900773003: Allow gaming_seat to use ozone gamepad as back-end (Closed)
Patch Set: Add gaming_seat_ozone to exo Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/exo/gaming_seat.h » ('j') | components/exo/gaming_seat.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/BUILD.gn
diff --git a/components/exo/BUILD.gn b/components/exo/BUILD.gn
index 1b48931fed87d251ba48649098407a661378b7dc..616914a1a46faf6ab343e01d7519b0bce3aa09e0 100644
--- a/components/exo/BUILD.gn
+++ b/components/exo/BUILD.gn
@@ -15,6 +15,8 @@ source_set("exo") {
"display.h",
"gaming_seat.cc",
"gaming_seat.h",
+ "gaming_seat_joydev.cc",
+ "gaming_seat_joydev.h",
"keyboard.cc",
"keyboard.h",
"keyboard_delegate.h",
@@ -71,7 +73,10 @@ source_set("exo") {
]
if (use_ozone) {
+ sources += [ "gaming_seat_ozone.cc" ]
+ sources += [ "gaming_seat_ozone.h" ]
deps += [ "//ui/ozone" ]
+ deps += [ "//ui/events/ozone:events_ozone_evdev" ]
}
if (is_chromeos) {
@@ -111,7 +116,7 @@ source_set("unit_tests") {
sources = [
"buffer_unittest.cc",
"display_unittest.cc",
- "gaming_seat_unittest.cc",
+ "gaming_seat_joydev_unittest.cc",
"keyboard_unittest.cc",
"pointer_unittest.cc",
"shared_memory_unittest.cc",
« no previous file with comments | « no previous file | components/exo/gaming_seat.h » ('j') | components/exo/gaming_seat.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698