From 039a3bcf29d3a985a5fc160c2fc631eff25b522b Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Tue, 14 Oct 2008 00:25:26 +0000 Subject: 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 --- webkit/SConscript | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'webkit') 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', -- cgit v1.1