summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 22:57:50 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 22:57:50 +0000
commit2b883b9efefed5734f396719990f2412b99dd0fe (patch)
treec90f5ca79a6dd76b7b1fa47f94a912a3490b159c /build/common.gypi
parent9b85ddbb8f293a96c5fe28f00e1e8632c8370cb3 (diff)
downloadchromium_src-2b883b9efefed5734f396719990f2412b99dd0fe.zip
chromium_src-2b883b9efefed5734f396719990f2412b99dd0fe.tar.gz
chromium_src-2b883b9efefed5734f396719990f2412b99dd0fe.tar.bz2
Adds linux2 variable and change to WidgetGtk to make it compile.
BUG=none TEST=none Review URL: http://codereview.chromium.org/119057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index ea68f11..856f2a1 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -64,6 +64,8 @@
# set the variable GYP_DEFINES to "toolkit_views=1", or modify
# ~/.gyp/include.gypi .
'toolkit_views%': 0,
+
+ 'linux2%': 0,
},
'target_defaults': {
'conditions': [
@@ -80,6 +82,9 @@
['toolkit_views==1', {
'defines': ['TOOLKIT_VIEWS=1'],
}],
+ ['linux2==1', {
+ 'defines': ['LINUX2=1'],
+ }],
['coverage!=0', {
'conditions': [
['OS=="mac"', {