summaryrefslogtreecommitdiffstats
path: root/build/SConscript.main
diff options
context:
space:
mode:
Diffstat (limited to 'build/SConscript.main')
-rw-r--r--build/SConscript.main10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/SConscript.main b/build/SConscript.main
index 617e5b4..139d29b 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -79,6 +79,16 @@ env = Environment(
'__env__, RDirs, TARGET, SOURCE)}'),
)
+# We pre-resolve some common targets. We end up spending lots of time
+# resolving these over and over again.
+env.Replace(
+ CHROME_SRC_DIR = str(env.Dir('$CHROME_SRC_DIR')),
+ DESTINATION_ROOT = str(env.Dir('$DESTINATION_ROOT')),
+ TARGET_ROOT = str(env.Dir('$TARGET_ROOT')),
+ OBJ_ROOT = str(env.Dir('$OBJ_ROOT')),
+ WEBKIT_DIR = str(env.Dir('$WEBKIT_DIR')),
+)
+
env.Append(LIBPATH = ['$LIBS_DIR'])