From f13664468e01dbac458762412ba9be3afb4f543c Mon Sep 17 00:00:00 2001 From: "tc@google.com" 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 --- tools/grit/grit/scons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/grit') diff --git a/tools/grit/grit/scons.py b/tools/grit/grit/scons.py index f583698..6410e26 100644 --- a/tools/grit/grit/scons.py +++ b/tools/grit/grit/scons.py @@ -138,7 +138,7 @@ def _Scanner(file_node, env, path): # Add in the grit source files. If one of these change, we want to re-run # grit. - grit_root_dir = os.path.split(os.path.abspath(__file__))[0] + grit_root_dir = env.subst('$CHROME_SRC_DIR/tools/grit') for root, dirs, filenames in os.walk(grit_root_dir): grit_src = [os.path.join(root, f) for f in filenames if f.endswith('.py')] files.extend(grit_src) -- cgit v1.1