diff options
author | bradnelson@chromium.org <bradnelson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 23:44:26 +0000 |
---|---|---|
committer | bradnelson@chromium.org <bradnelson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-17 23:44:26 +0000 |
commit | dfcec23417f5ac504a257f1c740404df69826792 (patch) | |
tree | 2939b84952c63d2de47d2aaeaa4d469ab17cef79 /base/gfx | |
parent | 63c2f1af4de7286e8f8b19f4921870a00fae64df (diff) | |
download | chromium_src-dfcec23417f5ac504a257f1c740404df69826792.zip chromium_src-dfcec23417f5ac504a257f1c740404df69826792.tar.gz chromium_src-dfcec23417f5ac504a257f1c740404df69826792.tar.bz2 |
Applying software construction toolkit patterns in scons build.
Review URL: http://codereview.chromium.org/6569
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx')
-rw-r--r-- | base/gfx/SConscript | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/base/gfx/SConscript b/base/gfx/SConscript index c862193..57d1b54 100644 --- a/base/gfx/SConscript +++ b/base/gfx/SConscript @@ -6,10 +6,12 @@ Import('env') env = env.Clone() -# Remove an inherited relative path that doesn't make sense anymore. This -# makes sure we don't pull in the wrong version of time.h when building on -# linux. -env['CPPPATH'].remove('..') +# This path causing linux to grab the wrong time.h +env.FilterOut( + CPPPATH = [ + '$MAIN_DIR/..', + ], +) env.Prepend( CPPPATH = [ @@ -20,7 +22,6 @@ env.Prepend( '$LIBPNG_DIR', '$ICU38_DIR/public/common', '$ICU38_DIR/public/i18n', - '../..', ], CPPDEFINES = [ 'PNG_USER_CONFIG', @@ -62,6 +63,7 @@ if env['PLATFORM'] == 'win32': if env['PLATFORM'] == 'win32': input_files.extend([ + 'gdi_util.cc', 'bitmap_platform_device_win.cc', 'platform_canvas_win.cc', 'platform_device_win.cc', @@ -74,4 +76,3 @@ elif env['PLATFORM'] == 'posix': ]) env.ChromeStaticLibrary('base_gfx', input_files) - |