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

Unified Diff: ui/events/BUILD.gn

Issue 1182303005: Fixed the Touchscreen.TouchEventsEnabled histogram to record the correct values on X11 and Ozone ba… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added logging.h include to device_data_manager_test_api_stub.cc. Created 5 years, 5 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 | « ui/aura/test/test_screen.h ('k') | ui/events/devices/device_data_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/BUILD.gn
diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn
index 0add919602d3e6aa80ee4af693b2fcbbebed315a..960c26f8583ade69ee46d9e48e79b123449c640c 100644
--- a/ui/events/BUILD.gn
+++ b/ui/events/BUILD.gn
@@ -239,6 +239,7 @@ source_set("test_support") {
sources = [
"test/cocoa_test_event_utils.h",
"test/cocoa_test_event_utils.mm",
+ "test/device_data_manager_test_api.h",
"test/event_generator.cc",
"test/event_generator.h",
"test/events_test_utils.cc",
@@ -286,6 +287,12 @@ source_set("test_support") {
"//ui/gfx/x",
]
}
+
+ if (use_x11 || use_ozone) {
+ sources += [ "test/device_data_manager_test_api_impl.cc" ]
+ } else {
+ sources += [ "test/device_data_manager_test_api_stub.cc" ]
+ }
}
test("events_unittests") {
« no previous file with comments | « ui/aura/test/test_screen.h ('k') | ui/events/devices/device_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698