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

Unified Diff: device/gamepad/gamepad.gyp

Issue 2129003002: Refactored gamepad polling to support dynamic sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit test issue and Mac XBoxDataFetcher constructor Created 4 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
Index: device/gamepad/gamepad.gyp
diff --git a/device/gamepad/gamepad.gyp b/device/gamepad/gamepad.gyp
index 792843c7d5ad3f81b9e75bae12cdc7e60b73fe18..c5c74964537b8c28563f10d89154e1cb627e756f 100644
--- a/device/gamepad/gamepad.gyp
+++ b/device/gamepad/gamepad.gyp
@@ -24,6 +24,8 @@
'gamepad_consumer.h',
'gamepad_data_fetcher.cc',
'gamepad_data_fetcher.h',
+ 'gamepad_data_fetcher_manager.cc',
+ 'gamepad_data_fetcher_manager.h',
'gamepad_platform_data_fetcher.h',
'gamepad_platform_data_fetcher_android.cc',
'gamepad_platform_data_fetcher_android.h',
@@ -44,22 +46,14 @@
'gamepad_user_gesture.h',
'raw_input_data_fetcher_win.cc',
'raw_input_data_fetcher_win.h',
- 'xbox_data_fetcher_mac.cc',
'xbox_data_fetcher_mac.h',
+ 'xbox_data_fetcher_mac.mm',
],
'conditions': [
['OS=="win"', {
'msvs_disabled_warnings': [4267, ],
}],
- ['OS=="linux" and use_udev==1', {
- 'dependencies': [
- '../udev_linux/udev.gyp:udev_linux',
- ]
- }],
['OS!="win" and OS!="mac" and OS!="android" and (OS!="linux" or use_udev==0)', {
- 'sources': [
- 'gamepad_platform_data_fetcher.cc',
- ],
'sources!': [
'gamepad_platform_data_fetcher_linux.cc',
],

Powered by Google App Engine
This is Rietveld 408576698