Index: ui/events/events.gyp |
diff --git a/ui/events/events.gyp b/ui/events/events.gyp |
index a9149527b13c664010b55ca4e361bf4497f95eac..a99c2f92420f77fd3859bf05d29824400c224ab6 100644 |
--- a/ui/events/events.gyp |
+++ b/ui/events/events.gyp |
@@ -307,6 +307,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', |
@@ -336,6 +337,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', |
+ ] |
+ }], |
], |
}, |
{ |