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

Unified Diff: build/common.gypi

Issue 289423004: Turn on ENABLE_NEW_GAMEPAD_API flag so that the new gamepad code is used (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add bug number 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/shared_impl/ppb_gamepad_shared.h » ('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 bb72124c887627b1c76ec4eb1479dff530d6cb0a..82649a83fa791adbb993c4cd97f8a8647d731868 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -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'],
}],
« no previous file with comments | « no previous file | ppapi/shared_impl/ppb_gamepad_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698