|
Ninja
|
DyndepLoader loads dynamically discovered dependencies, as referenced via the "dyndep" attribute in build files. More...
#include <dyndep.h>
Public Member Functions | |
| DyndepLoader (State *state, DiskInterface *disk_interface) | |
| bool | LoadDyndeps (Node *node, std::string *err) const |
| Load a dyndep file from the given node's path and update the build graph with the new information. More... | |
| bool | LoadDyndeps (Node *node, DyndepFile *ddf, std::string *err) const |
Private Member Functions | |
| bool | LoadDyndepFile (Node *file, DyndepFile *ddf, std::string *err) const |
| bool | UpdateEdge (Edge *edge, Dyndeps const *dyndeps, std::string *err) const |
Private Attributes | |
| DiskInterface * | disk_interface_ |
| State * | state_ |
DyndepLoader loads dynamically discovered dependencies, as referenced via the "dyndep" attribute in build files.
|
inline |
|
private |
Definition at line 122 of file dyndep.cc.
References Parser::Load(), and Node::path().
| bool DyndepLoader::LoadDyndeps | ( | Node * | node, |
| std::string * | err | ||
| ) | const |
Load a dyndep file from the given node's path and update the build graph with the new information.
One overload accepts a caller-owned 'DyndepFile' object in which to store the information loaded from the dyndep file.
Definition at line 29 of file dyndep.cc.
Referenced by Cleaner::LoadDyndeps().
| bool DyndepLoader::LoadDyndeps | ( | Node * | node, |
| DyndepFile * | ddf, | ||
| std::string * | err | ||
| ) | const |
Definition at line 34 of file dyndep.cc.
References Edge::dyndep_, EXPLAIN, Node::out_edges(), Edge::outputs_, Node::path(), and Node::set_dyndep_pending().
|
private |
Definition at line 82 of file dyndep.cc.
References BindingEnv::AddBinding(), Edge::env_, Edge::implicit_deps_, Dyndeps::implicit_inputs_, Dyndeps::implicit_outputs_, Edge::implicit_outs_, Edge::inputs_, Edge::order_only_deps_, Edge::outputs_, and Dyndeps::restat_.
|
private |
1.8.14