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

Unified Diff: build/common.gypi

Issue 280713004: Update Gamepad API to match the latest specification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | ppapi/api/ppb_gamepad.idl » ('j') | 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 6d076bb8b86f9b8c6608af84416c7056de663c21..fc0742b09ac871542c65e134b01c1ac2ef0aaae8 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -561,6 +561,10 @@
# Enable 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': [
# A flag for POSIX platforms
['OS=="win"', {
@@ -1092,6 +1096,7 @@
'use_goma%': '<(use_goma)',
'gomadir%': '<(gomadir)',
'video_hole%': '<(video_hole)',
+ 'enable_new_gamepad_api%': '<(enable_new_gamepad_api)',
# Use system protobuf instead of bundled one.
'use_system_protobuf%': 0,
@@ -2415,6 +2420,9 @@
['enable_hidpi==1', {
'defines': ['ENABLE_HIDPI=1'],
}],
+ ['enable_new_gamepad_api==1', {
+ 'defines': ['ENABLE_NEW_GAMEPAD_API=1'],
scottmg 2014/05/13 18:18:18 Er, were these intended to be guarded on this?
Inactive 2014/05/13 18:21:46 This is only to assist with the transition. The CL
+ }],
['native_discardable_memory==1', {
'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'],
}],
« no previous file with comments | « no previous file | ppapi/api/ppb_gamepad.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698