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

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: 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/BUILD.gn
diff --git a/device/gamepad/BUILD.gn b/device/gamepad/BUILD.gn
index 7c0d6695acfa00d1eb5250e9c40f0e4e149b8490..ef6b7a83291139daca540aef812ebef96b27b44b 100644
--- a/device/gamepad/BUILD.gn
+++ b/device/gamepad/BUILD.gn
@@ -17,6 +17,8 @@ component("gamepad") {
"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",
@@ -37,8 +39,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 = [
@@ -56,7 +58,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" ]
}

Powered by Google App Engine
This is Rietveld 408576698