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

Unified Diff: build/common.gypi

Issue 10320002: cros: Use touch theme assets with --touch-optimized-ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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/chrome_resources.gyp » ('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 c98b4739da57712294ac9b0e2d4817c7b2b8d732..5edb32960ff8914c97fb5d56ee2dc0002fc6229f 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -43,6 +43,9 @@
# Enable HiDPI support.
'enable_hidpi%': 0,
+
+ # Enable touch optimized art assets and metrics.
+ 'enable_touch_ui%': 0,
# Enable Metro support.
'enable_metro%': 0,
@@ -56,6 +59,7 @@
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
+ 'enable_touch_ui%': '<(enable_touch_ui)',
'enable_metro%': '<(enable_metro)',
# Compute the architecture that we're building on.
@@ -95,6 +99,11 @@
['OS=="mac"', {
'enable_hidpi%': 1,
}],
+
+ # Enable touch UI on Metro and Chrome OS.
+ ['enable_metro==1 or chromeos==1', {
+ 'enable_touch_ui%': 1,
sky 2012/05/02 16:12:21 Are you sure you want to set this now for chromeos
James Cook 2012/05/02 16:22:20 I think it's OK. It only actually changes the vis
+ }],
],
},
@@ -109,6 +118,7 @@
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
+ 'enable_touch_ui%': '<(enable_touch_ui)',
'enable_metro%': '<(enable_metro)',
# We used to provide a variable for changing how libraries were built.
@@ -511,6 +521,7 @@
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
+ 'enable_touch_ui%': '<(enable_touch_ui)',
'enable_metro%': '<(enable_metro)',
'use_xi2_mt%':'<(use_xi2_mt)',
'file_manager_extension%': '<(file_manager_extension)',
« no previous file with comments | « no previous file | chrome/chrome_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698