diff options
author | Evan Martin <martine@danga.com> | 2013-02-17 20:53:40 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2013-04-08 22:02:18 (GMT) |
commit | 98d937903a4fe43e874a10b7e78c76cec8da48d8 (patch) | |
tree | 35c96f05d7cfb980eb605fd5ab28c34e39703b26 /src/graph.h | |
parent | a8d7d8163a0e022c838a830e6c093ba428c10f24 (diff) | |
download | Ninja-98d937903a4fe43e874a10b7e78c76cec8da48d8.zip Ninja-98d937903a4fe43e874a10b7e78c76cec8da48d8.tar.gz Ninja-98d937903a4fe43e874a10b7e78c76cec8da48d8.tar.bz2 |
hook up depslog writing into build process
Diffstat (limited to 'src/graph.h')
-rw-r--r-- | src/graph.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/graph.h b/src/graph.h index a7b60db..650a83e 100644 --- a/src/graph.h +++ b/src/graph.h @@ -196,6 +196,10 @@ struct ImplicitDepLoader { /// @return false on error (without filling \a err if info is just missing). bool LoadDeps(Edge* edge, string* err); + DepsLog* deps_log() const { + return deps_log_; + } + private: /// Load implicit dependencies for \a edge from a depfile attribute. /// @return false on error (without filling \a err if info is just missing). @@ -247,6 +251,10 @@ struct DependencyScan { build_log_ = log; } + DepsLog* deps_log() const { + return dep_loader_.deps_log(); + } + private: BuildLog* build_log_; DiskInterface* disk_interface_; |