summaryrefslogtreecommitdiffstats
path: root/build/SConscript.main
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 19:12:51 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-25 19:12:51 +0000
commitedfb40cdff1d2324ab909eff2ea6d087467e45e9 (patch)
tree2682c19e9ffb7633f7e30f2e0d6d8461b3bdc075 /build/SConscript.main
parent64b92b56cd3c2fccdf4dbca1f930d12aef4c32b2 (diff)
downloadchromium_src-edfb40cdff1d2324ab909eff2ea6d087467e45e9.zip
chromium_src-edfb40cdff1d2324ab909eff2ea6d087467e45e9.tar.gz
chromium_src-edfb40cdff1d2324ab909eff2ea6d087467e45e9.tar.bz2
Remove dependancies on gcc/perl etc. This saves a bunch of stats and
full rebuilds whenever changing compilers etc. Review URL: http://codereview.chromium.org/12436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/SConscript.main')
-rw-r--r--build/SConscript.main5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/SConscript.main b/build/SConscript.main
index d2fa331..ba0a267 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -338,6 +338,11 @@ linux_env = root_env.Clone()
linux_env.Tool('target_platform_linux')
linux_env.Tool('yacc')
+# By default scons will depend on the first path element for any command line.
+# For example, it will resolve 'gcc' with $PATH and depend on that for any
+# action which runs gcc. This disables this behaviour:
+linux_env['IMPLICIT_COMMAND_DEPENDENCIES'] = False
+
# TODO(bradnelson): this is needed for now because target_platform_linux has
# OS_LINUX defined in a weird way.
linux_env.FilterOut(CPPDEFINES = ['OS_LINUX=OS_LINUX'])