Lines Matching defs:depfile
633 } else if (edge->rule().name() == "generate-depfile") {
636 string depfile = edge->GetUnescapedDepfile();
647 fs_->Create(depfile, contents);
650 string depfile = edge->GetUnescapedDepfile();
660 if (!dep.empty() && !depfile.empty())
661 fs_->Create(depfile, contents);
967 "rule cc\n command = cc $in\n depfile = $out.d\n"
981 "rule cc\n command = cc $in\n depfile = $out.d\n"
993 // Expect one new edge generating foo.o. Loading the depfile should have
1016 "rule cc\n command = cc $in\n depfile = $out.d\n"
1021 EXPECT_EQ("foo.o.d: expected ':' in depfile", err);
1050 "rule cc\n command = cc $in\n depfile = $out.d\n"
1081 // Recreate the depfile, as it should have been deleted by the build.
1096 // Recreate the depfile, as it should have been deleted by the build.
1169 "rule cc\n command = cc $in\n depfile = $out.d\n"
1180 // The depfile path does not get Canonicalize as it seems unnecessary.
1823 " depfile = $out.d\n"
1833 // The implicit dependencies and the depfile itself
1853 // Now remove a file, referenced from depfile, so that target becomes
1873 "rule generate-depfile\n"
1874 " command = sleep 1 ; touch $touch_dependency; touch $out ; echo \"$out: $test_dependency\" > $depfile\n"
1875 "build out1: generate-depfile || cat1\n"
1879 " depfile = out.d\n"));
1919 "rule generate-depfile\n"
1920 " command = touch $out ; echo \"$out: $test_dependency\" > $depfile\n"
1921 "build out: generate-depfile\n"
1923 " depfile = out.d\n"));
2246 " depfile = in1.d\n"));
2318 " depfile = in.d\n"
2349 " depfile = in.d\n"
2380 " depfile = in.d\n"
2411 " depfile = in.d\n"
2444 " depfile = in.d\n"
2502 " depfile = in1.d\n";
2570 " depfile = in1.d\n";
2638 " depfile = in1.d\n";
2749 " depfile = out.d\n"
2875 " depfile = in1.d\n"));
2901 " depfile = in1.d\n";
2947 // been cancelled due to restat propagating through the depfile header.
2957 "rule cc\n command = cc $in\n depfile = $out.d\n deps = gcc\n"
3001 // Expect one new edge generating fo o.o, loading the depfile should
3020 "rule generate-depfile\n"
3021 " command = touch $out ; echo \"$out: $test_dependency\" > $depfile\n"
3024 "build out2: generate-depfile in1 || out1\n"
3026 " depfile = out2.d\n"
3103 "rule cc\n command = cc $in\n depfile = $out.d\n deps = gcc\n"
3163 /// Check that a restat rule doesn't clear an edge if the depfile is missing.
3172 " depfile = out.d\n";
3181 // But we are also missing the depfile for 'out',
3198 " depfile = out.d\n";
3248 " depfile = $out.d\n"
3684 // a depfile as an input of another edge.
3694 " depfile = out.d\n"
3706 // Loading the depfile did not give tmp.imp a phony input edge.
3797 " depfile = out.d\n"
4201 " depfile = out2.d\n";