Index: ui/events/ozone/BUILD.gn |
diff --git a/ui/events/ozone/BUILD.gn b/ui/events/ozone/BUILD.gn |
index 314068c00f697fc441f7050bb697ae0aa8417428..73d0195b12e2545258126a3b022c1b39518e3cb5 100644 |
--- a/ui/events/ozone/BUILD.gn |
+++ b/ui/events/ozone/BUILD.gn |
@@ -66,16 +66,6 @@ if (use_ozone) { |
defines = [ "USE_EVDEV_GESTURES" ] |
} |
- if (use_evdev_gestures) { |
- pkg_config("libevdev-cros") { |
- packages = [ "libevdev-cros" ] |
- } |
- |
- pkg_config("libgestures") { |
- packages = [ "libgestures" ] |
- } |
- } |
- |
component("events_ozone_evdev") { |
sources = [ |
"evdev/device_event_dispatcher_evdev.cc", |
@@ -162,12 +152,12 @@ if (use_ozone) { |
"evdev/libgestures_glue/gesture_timer_provider.h", |
] |
- public_configs += [ ":evdev_gestures" ] |
- |
- configs += [ |
- ":libevdev-cros", |
- ":libgestures", |
+ deps += [ |
+ "//third_party/gestures", |
+ "//third_party/libevdev", |
] |
+ |
+ public_configs += [ ":evdev_gestures" ] |
} |
} |
} |