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

Unified Diff: build/common.gypi

Issue 202123003: Revert of Removing Chrome Gamepad transition cruft (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index aa44c29bded173378eccc33611bf89c455c3dc0b..1dc3dcd6d8bc7594c0e782b0dea0abc119a894d5 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1293,6 +1293,10 @@
# Set to 1 to compile with the hole punching for the protected video.
'video_hole%': 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
@@ -2260,6 +2264,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'],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698