| Index: tools/grit/grit/scons.py
|
| diff --git a/tools/grit/grit/scons.py b/tools/grit/grit/scons.py
|
| index f5836986a8c4593617c3c08a25d317389a1cc727..6410e26d18a67a9b73e56d9b922585e06578b294 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)
|
|
|