@@ -943,6 +943,7 @@ bool Builder::FinishCommand(CommandRunner::Result* result, string* err) {
943
943
// extraction itself can fail, which makes the command fail from a
944
944
// build perspective.
945
945
vector<Node*> deps_nodes;
946
+ #if 0
946
947
string deps_type = edge->GetBinding("deps");
947
948
const string deps_prefix = edge->GetBinding("msvc_deps_prefix");
948
949
if (!deps_type.empty()) {
@@ -956,7 +957,7 @@ bool Builder::FinishCommand(CommandRunner::Result* result, string* err) {
956
957
result->status = ExitFailure;
957
958
}
958
959
}
959
-
960
+ # endif
960
961
int start_time, end_time;
961
962
status_->BuildEdgeFinished (edge, result->success (), result->output ,
962
963
&start_time, &end_time);
@@ -1003,7 +1004,7 @@ bool Builder::FinishCommand(CommandRunner::Result* result, string* err) {
1003
1004
}
1004
1005
1005
1006
string depfile = edge->GetUnescapedDepfile ();
1006
- if (restat_mtime != 0 && deps_type.empty () && !depfile.empty ()) {
1007
+ if (restat_mtime != 0 && /* deps_type.empty() && */ !depfile.empty ()) {
1007
1008
TimeStamp depfile_mtime = disk_interface_->Stat (depfile, err);
1008
1009
if (depfile_mtime == -1 )
1009
1010
return false ;
@@ -1035,6 +1036,7 @@ bool Builder::FinishCommand(CommandRunner::Result* result, string* err) {
1035
1036
}
1036
1037
}
1037
1038
1039
+ #if 0
1038
1040
if (!deps_type.empty() && !config_.dry_run) {
1039
1041
assert(edge->outputs_.size() == 1 && "should have been rejected by parser");
1040
1042
Node* out = edge->outputs_[0];
@@ -1046,9 +1048,11 @@ bool Builder::FinishCommand(CommandRunner::Result* result, string* err) {
1046
1048
return false;
1047
1049
}
1048
1050
}
1051
+ #endif
1052
+
1049
1053
return true ;
1050
1054
}
1051
-
1055
+ # if 0
1052
1056
bool Builder::ExtractDeps(CommandRunner::Result* result,
1053
1057
const string& deps_type,
1054
1058
const string& deps_prefix,
@@ -1117,7 +1121,7 @@ bool Builder::ExtractDeps(CommandRunner::Result* result,
1117
1121
1118
1122
return true;
1119
1123
}
1120
-
1124
+ # endif
1121
1125
bool Builder::LoadDyndeps (Node* node, string* err) {
1122
1126
status_->BuildLoadDyndeps ();
1123
1127
0 commit comments