Index: views/views.gyp |
diff --git a/views/views.gyp b/views/views.gyp |
index 8c437a6a50aa05fe6c9df3b95f710accb5ca1635..ef8ba07fd0467b34bde2900616355f3d52329c26 100644 |
--- a/views/views.gyp |
+++ b/views/views.gyp |
@@ -31,6 +31,9 @@ |
['include', '/win/'], |
['include', '/win_[^/]*\\.cc$'], |
]}], |
+ ['touchui==0', {'sources/': [ |
+ ['exclude', 'touchui/'], |
+ ]}], |
], |
}, |
'targets': [ |
@@ -260,6 +263,8 @@ |
'screen_gtk.cc', |
'screen_win.cc', |
'standard_layout.h', |
+ 'touchui/gesture_manager.h', |
+ 'touchui/gesture_manager.cc', |
'view.cc', |
'view.h', |
'view_constants.cc', |
@@ -359,6 +364,9 @@ |
'widget/widget_win.cc', |
], |
}], |
+ ['touchui==1', { |
+ 'defines': ['TOUCH_UI=1'], |
+ }], |
['OS=="win"', { |
'sources!': [ |
'controls/slider/slider.cc', |