| Index: site_scons/site_tools/chromium_builders.py
|
| diff --git a/site_scons/site_tools/chromium_builders.py b/site_scons/site_tools/chromium_builders.py
|
| index ae781d4bd5942cd0d55541044c87ed3759af7938..ec1e34785116dd83cec18608329b3f95c8fcf50b 100644
|
| --- a/site_scons/site_tools/chromium_builders.py
|
| +++ b/site_scons/site_tools/chromium_builders.py
|
| @@ -8,6 +8,8 @@ wrappers around Hammer builders. This gives us a central place for any
|
| customization we need to make to the different things we build.
|
| """
|
|
|
| +import sys
|
| +
|
| from SCons.Script import *
|
|
|
| import SCons.Node
|
| @@ -163,5 +165,13 @@ def generate(env):
|
| env.AddMethod(ChromeMSVSProject)
|
| env.AddMethod(ChromeMSVSSolution)
|
|
|
| + # Add the grit tool to the base environment because we use this a lot.
|
| + sys.path.append(env.Dir('$CHROME_SRC_DIR/tools/grit').abspath)
|
| + env.Tool('scons', toolpath=[env.Dir('$CHROME_SRC_DIR/tools/grit/grit')])
|
| +
|
| + # Add the repack python script tool that we use in multiple places.
|
| + sys.path.append(env.Dir('$CHROME_SRC_DIR/tools/data_pack').abspath)
|
| + env.Tool('scons', toolpath=[env.Dir('$CHROME_SRC_DIR/tools/data_pack/')])
|
| +
|
| def exists(env):
|
| return True
|
|
|