Add a timestamp touch rule.

Test: Works for the NDK changes I'm working on.
Change-Id: I2731ef159122d6d44a6494a6c975a687bb49ff56
This commit is contained in:
Dan Albert
2016-07-18 22:29:52 -07:00
parent 6a0476930a
commit 5d723ab19a

View File

@@ -52,6 +52,13 @@ var (
},
"cpFlags")
// A timestamp touch rule.
Touch = pctx.StaticRule("Touch",
blueprint.RuleParams{
Command: "touch $out",
Description: "touch $out",
})
// A symlink rule.
Symlink = pctx.StaticRule("Symlink",
blueprint.RuleParams{