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