Turn on ENABLE_NEW_GAMEPAD_API flag so that the new gamepad code is used
Turn on ENABLE_NEW_GAMEPAD_API flag so that the new gamepad code is used. Also remove the old code on Chromium side. The ENABLE_NEW_GAMEPAD_API is only needed until the Blink side #ifdefs are removed. BUG=344556 Review URL: https://codereview.chromium.org/289423004 git-svn-id: http://src.chromium.org/svn/trunk/src/build@272723 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
ec6eb7f62f
Коммит
1b30f0ee2d
|
@ -2276,6 +2276,11 @@
|
|||
# Targets are by default not nacl untrusted code.
|
||||
'nacl_untrusted_build%': 0,
|
||||
|
||||
# Enable a new Gamepad interface.
|
||||
# TODO(cdumez): This is temporary and should go away once the chromium
|
||||
# and blink interfaces are in sync, http://crbug.com/344556.
|
||||
'enable_new_gamepad_api%': 1,
|
||||
|
||||
'pnacl_compile_flags': [
|
||||
# pnacl uses the clang compiler so we need to suppress all the
|
||||
# same warnings as we do for clang.
|
||||
|
@ -2445,6 +2450,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'],
|
||||
}],
|
||||
|
|
Загрузка…
Ссылка в новой задаче