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'], |
}], |