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

Unified Diff: build/common.gypi

Issue 7792094: touchui: support XInput2 MT (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: select mouse and touch events when XI2.1 Created 9 years, 3 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
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 0a8d7ba9cb72ad0a742ffbc23ad824bc54f6630d..e72da57b71f04fac8538a687433485cade9e4b3e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -214,6 +214,9 @@
# Webrtc compilation is enabled by default. Set to 0 to disable.
'enable_webrtc%': 1,
+ # XInput 2.1 for touch events is disabled by default.
+ 'use_xi2_1%': 0,
+
'conditions': [
# Use Skia as WebKit renderer on Mac
['OS=="mac"', {
@@ -305,6 +308,7 @@
'enable_flapper_hacks%': '<(enable_flapper_hacks)',
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
+ 'use_xi2_1%':'<(use_xi2_1)',
'webui_dialogs%': '<(webui_dialogs)',
'file_manager_extension%': '<(file_manager_extension)',
'webui_task_manager%': '<(webui_task_manager)',
@@ -800,6 +804,9 @@
['touchui==1', {
'defines': ['TOUCH_UI=1'],
}],
+ ['use_xi2_1==1', {
+ 'defines': ['USE_XI2_1=1'],
+ }],
['use_wayland==1', {
'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'],
}],

Powered by Google App Engine
This is Rietveld 408576698