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

Unified Diff: build/common.gypi

Issue 165983005: Updating Gamepad API to match latest spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added compile flag to enable new Blink interface Created 6 years, 10 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: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 4c85eaf4b0d12561edc07fb876b7eb03349a4726..cb9a552eb35dcab4f109fc154e55e82b49a1a014 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1274,6 +1274,10 @@
# Force disable libstdc++ debug mode.
'disable_glibcxx_debug%': 0,
+ # Enable a new Gamepad interface. This is temporary and should go
+ # away once the chrome and blink interfaces are in sync
+ 'enable_new_gamepad_api%': 1,
+
'conditions': [
# The version of GCC in use, set later in platforms that use GCC and have
# not explicitly chosen to build with clang. Currently, this means all
@@ -2252,6 +2256,9 @@
['enable_hidpi==1', {
'defines': ['ENABLE_HIDPI=1'],
}],
+ ['enable_new_gamepad_api==1', {
+ 'defines': ['ENABLE_NEW_GAMEPAD_API=1'],
+ }],
['native_discardable_memory==1', {
'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'],
}],

Powered by Google App Engine
This is Rietveld 408576698