From 2dedae30825fe2c1b7f7ac0ffb0c75145cb24bc1 Mon Sep 17 00:00:00 2001 From: "mpcomplete@google.com" Date: Wed, 26 Nov 2008 01:43:42 +0000 Subject: 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 --- gears/SConscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gears/SConscript') 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') -- cgit v1.1