diff options
author | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-26 01:43:42 +0000 |
---|---|---|
committer | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-26 01:43:42 +0000 |
commit | 2dedae30825fe2c1b7f7ac0ffb0c75145cb24bc1 (patch) | |
tree | d02c326767b9d14781d5d447594437750e7ffefe /gears/SConscript | |
parent | 45abb0b369be7575b9e5b081ec405b4c0cfa6c2e (diff) | |
download | chromium_src-2dedae30825fe2c1b7f7ac0ffb0c75145cb24bc1.zip chromium_src-2dedae30825fe2c1b7f7ac0ffb0c75145cb24bc1.tar.gz chromium_src-2dedae30825fe2c1b7f7ac0ffb0c75145cb24bc1.tar.bz2 |
Clean up the gears-scons scripts a bit.
- Remove the ugly StripOutdir() hacks in SConscript.installers. I'm not sure
why I even introduced this, but it's much cleaner now.
- Include Sconscript.input in the main SConscript file. This required
removing its dependence on env['BROWSER'] and env_res.
Fix win32.
- Use a custom action instead of 'rm -rf `find FOO`'.
- Don't rely on 'date' command.
Review URL: http://codereview.chromium.org/12662
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript')
-rw-r--r-- | gears/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gears/SConscript b/gears/SConscript index eaa7609..e9e72f42 100644 --- a/gears/SConscript +++ b/gears/SConscript @@ -766,6 +766,9 @@ sconscripts = [ # env = env.SConscript('#/$PRIVATE_DIR/SConscript', # exports=['env', 'env_res']) +# Include the input file list. +env = env.SConscript('SConscript.inputs', exports=['env']) + for each in sconscripts: env.SConscript(each, exports=['env'], @@ -797,3 +800,5 @@ env.SConscript('SConscript.installers', exports=['env'], variant_dir='$BASE_OUTDIR', duplicate=0) + +env.Alias('gears-installers', 'gears') |