diff options
Diffstat (limited to 'src/clean.h')
-rw-r--r-- | src/clean.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/clean.h b/src/clean.h index 19432ab..d044fb1 100644 --- a/src/clean.h +++ b/src/clean.h @@ -19,6 +19,7 @@ #include <string> #include "build.h" +#include "dyndep.h" using namespace std; @@ -28,11 +29,7 @@ struct Rule; struct DiskInterface; struct Cleaner { - /// Build a cleaner object with a real disk interface. - Cleaner(State* state, const BuildConfig& config); - /// Build a cleaner object with the given @a disk_interface - /// (Useful for testing). Cleaner(State* state, const BuildConfig& config, DiskInterface* disk_interface); @@ -95,8 +92,12 @@ struct Cleaner { void DoCleanRule(const Rule* rule); void Reset(); + /// Load dependencies from dyndep bindings. + void LoadDyndeps(); + State* state_; const BuildConfig& config_; + DyndepLoader dyndep_loader_; set<string> removed_; set<Node*> cleaned_; int cleaned_files_count_; |