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

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: 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..b4629bcaf9a858a9659713a6f638d3c921a4c6cf 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2276,6 +2276,10 @@
# Targets are by default not nacl untrusted code.
'nacl_untrusted_build%': 0,
+ # Enable a new Gamepad interface. This is temporary and should go
+ # away once the chrome and blink interfaces are in sync.
dmichael (off chromium) 2014/05/23 21:02:55 Please reference the bug number here.
Inactive 2014/05/23 21:14:39 Done.
+ '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 +2449,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