summaryrefslogtreecommitdiffstats
path: root/o3d/build/common.gypi
diff options
context:
space:
mode:
authorgspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-24 17:29:24 +0000
committergspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-24 17:29:24 +0000
commitf08f8a20f786ea60745fbb3fce5a15dc1fbc6ed0 (patch)
tree220a582448a8e0f81038a87a98a3baa739fd52ab /o3d/build/common.gypi
parentcaeb38f22fd69de427d56291b7932250323d96cf (diff)
downloadchromium_src-f08f8a20f786ea60745fbb3fce5a15dc1fbc6ed0.zip
chromium_src-f08f8a20f786ea60745fbb3fce5a15dc1fbc6ed0.tar.gz
chromium_src-f08f8a20f786ea60745fbb3fce5a15dc1fbc6ed0.tar.bz2
This fixes types.h with a conditional block so that it provides down_cast<>,
but only in the GYP build. The GYP build uses a newer chrome/base that doesn't provide down_cast<> anymore. Review URL: http://codereview.chromium.org/146092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19140 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/build/common.gypi')
-rw-r--r--o3d/build/common.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/o3d/build/common.gypi b/o3d/build/common.gypi
index 471700c..5e94b08 100644
--- a/o3d/build/common.gypi
+++ b/o3d/build/common.gypi
@@ -19,6 +19,9 @@
'skiadir': 'third_party/skia/include',
'zlibdir': 'third_party/zlib',
},
+ 'defines': [
+ 'GYP_BUILD', # Needed to make a change in base/types.h conditional.
+ ],
'conditions' : [
['OS == "win"',
{