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

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: Version the IDL 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') | ppapi/api/ppb_gamepad.idl » ('J')
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 4000efe768d7df16aef16cb3402652c9fd1f45d8..10f11d87cda0c72c362507f3fd1c7a6e752d699d 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'],
+ }],
['native_discardable_memory==1', {
'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'],
}],
« no previous file with comments | « no previous file | ppapi/api/ppb_gamepad.idl » ('j') | ppapi/api/ppb_gamepad.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698