summaryrefslogtreecommitdiffstats
path: root/webkit/SConscript
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-14 00:25:26 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-14 00:25:26 +0000
commit039a3bcf29d3a985a5fc160c2fc631eff25b522b (patch)
treeff875d7d603f7f89467f50ddeb4d120db0053bdd /webkit/SConscript
parent30102ed09c7d7dea01a6c931fcaf6f1546506aaf (diff)
downloadchromium_src-039a3bcf29d3a985a5fc160c2fc631eff25b522b.zip
chromium_src-039a3bcf29d3a985a5fc160c2fc631eff25b522b.tar.gz
chromium_src-039a3bcf29d3a985a5fc160c2fc631eff25b522b.tar.bz2
include platform/gtk in the CPPPATH on linux
Review URL: http://codereview.chromium.org/7289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/SConscript')
-rw-r--r--webkit/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/webkit/SConscript b/webkit/SConscript
index 4615a2d..d3f3812 100644
--- a/webkit/SConscript
+++ b/webkit/SConscript
@@ -199,6 +199,17 @@ env.Append(
],
)
+# For now, use the upstream platform/gtk directory while we get things
+# compiling. We need to do this because some of the header files in our port
+# assume windows (e.g., PlatformScrollBar.h). Eventually, we may need to fork
+# this or make modifications to the header files.
+if env['PLATFORM'] == 'posix':
+ env.Prepend(
+ CPPPATH = [
+ '$WEBCORE_DIR/platform/gtk'
+ ]
+ )
+
# This list is the SConscripts that work on Windows and Linux.
sconscript_dirs = [
'SConscript.port',