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

Unified Diff: build/common.gypi

Issue 8051010: Separate Virtual Keyboard related conditionals from TouchUI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased on ToT, fix along with review comments Created 9 years, 2 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 | « no previous file | chrome/browser/chromeos/login/webui_login_view.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 77047a11f307bae7077bf5eb3818b0c19de087fa..2df9b363e264010adc770e52e5cfdb8bbe3ce01b 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -74,6 +74,13 @@
'use_only_pure_views%': 0,
}],
+ # Use virtual keyboard by default in TouchUI builds.
+ ['touchui==1', {
+ 'use_virtual_keyboard%': 1,
+ }, {
+ 'use_virtual_keyboard%': 0,
+ }],
+
# Use the views compositor when using the Aura window manager or
# touch.
['use_aura==1 or touchui==1', {
@@ -85,6 +92,7 @@
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
+ 'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'host_arch%': '<(host_arch)',
'toolkit_views%': '<(toolkit_views)',
'use_only_pure_views%': '<(use_only_pure_views)',
@@ -330,6 +338,7 @@
'enable_flapper_hacks%': '<(enable_flapper_hacks)',
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
+ 'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'use_xi2_mt%':'<(use_xi2_mt)',
'file_manager_extension%': '<(file_manager_extension)',
'webui_task_manager%': '<(webui_task_manager)',
@@ -764,6 +773,9 @@
['touchui==1', {
'grit_defines': ['-D', 'touchui'],
}],
+ ['use_virtual_keyboard==1', {
+ 'grit_defines': ['-D', 'use_virtual_keyboard'],
+ }],
['file_manager_extension==1', {
'grit_defines': ['-D', 'file_manager_extension'],
}],
@@ -901,6 +913,9 @@
['touchui==1', {
'defines': ['TOUCH_UI=1'],
}],
+ ['use_virtual_keyboard==1', {
+ 'defines': ['USE_VIRTUAL_KEYBOARD=1'],
+ }],
['use_xi2_mt!=0', {
'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
}],
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698