summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 01:17:35 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 01:17:35 +0000
commitf4f7dd072cb18b122edeca7992b1984759757962 (patch)
tree1e205be4073d2d19a08a6797718642e8c640a2d0 /build/linux
parent11dd68cd5c43ea76082eed94d7ffc2e887241005 (diff)
downloadchromium_src-f4f7dd072cb18b122edeca7992b1984759757962.zip
chromium_src-f4f7dd072cb18b122edeca7992b1984759757962.tar.gz
chromium_src-f4f7dd072cb18b122edeca7992b1984759757962.tar.bz2
touchui: First pass at XInput2 message pump.
Capture X events using XInput2. BUG=None TEST=None Review URL: http://codereview.chromium.org/4186004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/system.gyp12
1 files changed, 11 insertions, 1 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index cf25bb1..afa2a76 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -225,7 +225,17 @@
'<!@(<(pkg-config) --libs-only-l x11)',
],
},
- }]]
+ }],
+ # When XInput2 is available (i.e. inputproto version is 2.0), the
+ # pkg-config command will succeed, so the output will be empty.
+ ['"<!(<(pkg-config) --atleast-version=2.0 inputproto || echo $?)"==""', {
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'HAVE_XINPUT2',
+ ],
+ },
+ }],
+ ],
},
{
'target_name': 'xext',