summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-12-30 18:15:49 (GMT)
committerEvan Martin <martine@danga.com>2013-04-08 21:45:07 (GMT)
commit70fd0f590c3a46a4a9ff9a160f455c5c30f5b90a (patch)
tree6c0da3bb1ea04f301a62005a47997f013346536b /src/ninja.cc
parent6e21a236edd859b885f8c1bea8090bbdd76bf15d (diff)
downloadNinja-70fd0f590c3a46a4a9ff9a160f455c5c30f5b90a.zip
Ninja-70fd0f590c3a46a4a9ff9a160f455c5c30f5b90a.tar.gz
Ninja-70fd0f590c3a46a4a9ff9a160f455c5c30f5b90a.tar.bz2
plumb DepsLog load through Builder
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 9f4d67b..8ba1aa6 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -919,7 +919,7 @@ reload:
if (!rebuilt_manifest) { // Don't get caught in an infinite loop by a rebuild
// target that is never up to date.
- Builder manifest_builder(globals.state, config, &build_log,
+ Builder manifest_builder(globals.state, config, &build_log, &deps_log,
&disk_interface);
if (RebuildManifest(&manifest_builder, input_file, &err)) {
rebuilt_manifest = true;
@@ -931,7 +931,8 @@ reload:
}
}
- Builder builder(globals.state, config, &build_log, &disk_interface);
+ Builder builder(globals.state, config, &build_log, &deps_log,
+ &disk_interface);
int result = RunBuild(&builder, argc, argv);
if (g_metrics)
DumpMetrics(&globals);