summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 23:51:17 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 23:51:17 +0000
commite69702358e63b75bdbc5bd6057ddebc48d1cc593 (patch)
tree211b23be56fe8854000ae3f83ca453bc1482278d /build
parent4fc85eeb10795a6919b9a72f671d0ff960e6b092 (diff)
downloadchromium_src-e69702358e63b75bdbc5bd6057ddebc48d1cc593.zip
chromium_src-e69702358e63b75bdbc5bd6057ddebc48d1cc593.tar.gz
chromium_src-e69702358e63b75bdbc5bd6057ddebc48d1cc593.tar.bz2
Adds gyp switch that turns on views on Linux. This currently doesn't
do anything else, but it will eventually. BUG=none TEST=none Review URL: http://codereview.chromium.org/113304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 1c44d9a0..7158b2e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -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"', {