From f13664468e01dbac458762412ba9be3afb4f543c Mon Sep 17 00:00:00 2001 From: "tc@google.com" <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> Date: Fri, 6 Feb 2009 20:17:54 +0000 Subject: Add a Repack tool to scons. This is used to compile linux resources together (kind of like the windows RES builder). I also moved the GRIT builder into the chromium site_scons since we import it in lots of places. This seems cleaner. Review URL: http://codereview.chromium.org/21115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9331 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/SConscript | 6 ------ 1 file changed, 6 deletions(-) (limited to 'webkit/tools') diff --git a/webkit/tools/test_shell/SConscript b/webkit/tools/test_shell/SConscript index 8e8b580..24d1af3 100644 --- a/webkit/tools/test_shell/SConscript +++ b/webkit/tools/test_shell/SConscript @@ -209,19 +209,13 @@ if env.Bit('windows'): if env.Bit('linux'): # Build the linux resource files. - import sys - sys.path.append(env.Dir('$CHROME_SRC_DIR/tools/grit').abspath) env_grd = env.Clone() - env_grd.Tool('scons', toolpath=[env_grd.Dir('$CHROME_SRC_DIR/tools/grit/grit')]) # This dummy target is used to tell the emitter where to put the target # files. generated = env_grd.GRIT( '$TARGET_ROOT/grit_derived_sources/fake_test_shell_resources', '$CHROME_SRC_DIR/webkit/tools/test_shell/test_shell_resources.grd') - env.Append(BUILDERS = { 'Repack' : Builder( - action = 'python $CHROME_SRC_DIR/tools/data_pack/repack.py $TARGET $SOURCES', - )}) test_shell_data = env.Repack( '$TARGET_ROOT/test_shell.pak', ['$TARGET_ROOT/grit_derived_sources/net_resources.pak', -- cgit v1.1