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

Unified Diff: ui/events/events.gyp

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/events/devices/x11/device_data_manager_x11.cc ('k') | ui/events/test/device_data_manager_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/events.gyp
diff --git a/ui/events/events.gyp b/ui/events/events.gyp
index ff3b8a7554f80301dc97752fea6167ef4b307f9d..36c86d6116d3e3686afe7478c19077a304ce9b3a 100644
--- a/ui/events/events.gyp
+++ b/ui/events/events.gyp
@@ -312,6 +312,7 @@
# Note: sources list duplicated in GN build.
'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',
@@ -341,6 +342,15 @@
'devices/events_devices.gyp:events_devices',
],
}],
+ ['use_x11==1 or use_ozone==1', {
+ 'sources' : [
+ 'test/device_data_manager_test_api_impl.cc',
+ ]
+ }, { # else use_x11=1 or use_ozone=1
+ 'sources' : [
+ 'test/device_data_manager_test_api_stub.cc',
+ ]
+ }],
],
},
{
« no previous file with comments | « ui/events/devices/x11/device_data_manager_x11.cc ('k') | ui/events/test/device_data_manager_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698