27acabee4d720a85de529e9069096f482d1c929d
[platform/framework/web/crosswalk.git] / src / xwalk / build / common.gypi
1 {
2   'variables': {
3     # Enable multitouch support with XInput2.1. When it is enabled, unlike
4     # XInput2.2, there are no XI_TouchBegin, XI_TouchUpdate and XI_TouchEnd
5     # raw touch events emitted from touch device. Instead, the touch event is
6     # simulated by a normal mouse event, since X server maintains multiple
7     # virtual touch screen devices as floating device, each of them can
8     # simulate a touch event tracked by the device id of event source, as a
9     # result, multi-touch support works with these simulated touch events
10     # dispatched from floating device.
11     'enable_xi21_mt%': 0,
12
13     'tizen%': 0,
14     'tizen_mobile%': 0,
15   },
16   'target_defaults': {
17     'variables': {
18       'tizen%': '<(tizen)',
19       'tizen_mobile%': '<(tizen_mobile)',
20     },
21     'conditions': [
22       ['enable_xi21_mt==1', {
23         'defines': ['ENABLE_XI21_MT=1'],
24       }],
25       ['tizen==1', {
26         'defines': ['OS_TIZEN=1'],
27       }],
28       ['tizen_mobile==1', {
29         'defines': ['OS_TIZEN_MOBILE=1', 'OS_TIZEN=1'],
30       }],
31     ],
32     'includes': [
33       'xwalk_filename_rules.gypi',
34     ],
35   },
36 }