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

Unified Diff: device/gamepad/BUILD.gn

Issue 2129003002: Refactored gamepad polling to support dynamic sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled sanitization test on Android. Suffers from same bug as PollingAccess test Created 4 years, 4 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 | « content/browser/gamepad/gamepad_service_unittest.cc ('k') | device/gamepad/gamepad.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/BUILD.gn
diff --git a/device/gamepad/BUILD.gn b/device/gamepad/BUILD.gn
index 275a5ca01b0ffed7c40a243b6c911d30a76b0931..6e6e00066293e33f4545db6bd7f3518f5fe237e9 100644
--- a/device/gamepad/BUILD.gn
+++ b/device/gamepad/BUILD.gn
@@ -19,6 +19,10 @@ component("gamepad") {
"gamepad_consumer.h",
"gamepad_data_fetcher.cc",
"gamepad_data_fetcher.h",
+ "gamepad_data_fetcher_manager.cc",
+ "gamepad_data_fetcher_manager.h",
+ "gamepad_pad_state_provider.cc",
+ "gamepad_pad_state_provider.h",
"gamepad_platform_data_fetcher.h",
"gamepad_platform_data_fetcher_android.cc",
"gamepad_platform_data_fetcher_android.h",
@@ -39,8 +43,8 @@ component("gamepad") {
"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",
]
deps = [
@@ -58,7 +62,6 @@ component("gamepad") {
if (is_linux && use_udev) {
deps += [ "//device/udev_linux" ]
} else if (!is_win && !is_mac && !is_android) {
- sources += [ "gamepad_platform_data_fetcher.cc" ]
sources -= [ "gamepad_platform_data_fetcher_linux.cc" ]
}
« no previous file with comments | « content/browser/gamepad/gamepad_service_unittest.cc ('k') | device/gamepad/gamepad.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698