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

Unified Diff: build/common.gypi

Issue 113304: Adds gyp switch that turns on views on Linux. This currently doesn't... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 15903)
+++ build/common.gypi (working copy)
@@ -52,6 +52,11 @@
# The architecture that we're building on.
'target_arch%': 'ia32',
+
+ # By default linux does not use views. To turn on views in Linux
+ # set the variable GYP_DEFINES to "toolkit_views=1", or modify
+ # ~/.gyp/include.gypi .
+ 'toolkit_views%': 0,
},
'target_defaults': {
'conditions': [
@@ -60,6 +65,9 @@
}, { # else: branding!="Chrome"
'defines': ['CHROMIUM_BUILD'],
}],
+ ['toolkit_views=="1"', {
+ 'defines': ['TOOLKIT_VIEWS=1'],
+ }],
['coverage!=0', {
'conditions': [
['OS=="mac"', {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698