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

Unified Diff: device/gamepad/BUILD.gn

Issue 2271353002: Added support for GameController devices on OSX (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review feedback 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 | « no previous file | device/gamepad/game_controller_data_fetcher_mac.h » ('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 6e6e00066293e33f4545db6bd7f3518f5fe237e9..92cc1d34e31ae5e0d0c60de2799832ba882cc798 100644
--- a/device/gamepad/BUILD.gn
+++ b/device/gamepad/BUILD.gn
@@ -15,6 +15,8 @@ component("gamepad") {
sources = [
"android/gamepad_jni_registrar.cc",
"android/gamepad_jni_registrar.h",
+ "game_controller_data_fetcher_mac.h",
+ "game_controller_data_fetcher_mac.mm",
"gamepad_consumer.cc",
"gamepad_consumer.h",
"gamepad_data_fetcher.cc",
@@ -73,8 +75,11 @@ component("gamepad") {
libs = [
"CoreFoundation.framework",
"Foundation.framework",
+ "GameController.framework",
"IOKit.framework",
]
+
+ cflags = [ "-Wpartial-availability" ]
Nico 2017/07/13 20:13:14 We add this globally, at least on mac (not on ios,
}
}
« no previous file with comments | « no previous file | device/gamepad/game_controller_data_fetcher_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698