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

Unified Diff: build/common.gypi

Issue 7792094: touchui: support XInput2 MT (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Update patch set according to comment #33 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
« no previous file with comments | « base/message_pump_x.cc ('k') | views/events/event_x.cc » ('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 2d0beb7539fe09d78359cd79906edceb03fef1b8..052d8d650fc29688a19e8dfe454d39ef0c2e8f2d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -207,6 +207,12 @@
# Webrtc compilation is enabled by default. Set to 0 to disable.
'enable_webrtc%': 1,
+ # XInput2 multitouch support is disabled by default (use_xi2_mt=0).
+ # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled,
+ # the input value also defines the required XI2 minor minimum version.
+ # For example, use_xi2_mt=2 means XI2.2 or above version is required.
+ 'use_xi2_mt%': 0,
+
'conditions': [
# TODO(epoger): Figure out how to set use_skia=1 for Mac outside of
# the 'conditions' clause. Initial attempts resulted in chromium and
@@ -313,6 +319,7 @@
'enable_flapper_hacks%': '<(enable_flapper_hacks)',
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
+ 'use_xi2_mt%':'<(use_xi2_mt)',
'file_manager_extension%': '<(file_manager_extension)',
'webui_task_manager%': '<(webui_task_manager)',
'inside_chromium_build%': '<(inside_chromium_build)',
@@ -868,6 +875,9 @@
['touchui==1', {
'defines': ['TOUCH_UI=1'],
}],
+ ['use_xi2_mt!=0', {
+ 'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
+ }],
['use_wayland==1', {
'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'],
}],
« no previous file with comments | « base/message_pump_x.cc ('k') | views/events/event_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698