Merge "Add dependency support for yasm"

This commit is contained in:
Treehugger Robot 2017-08-24 18:02:18 +00:00 committed by Gerrit Code Review
commit 2e78e5e37f
1 changed files with 3 additions and 1 deletions

View File

@ -151,8 +151,10 @@ var (
yasm = pctx.AndroidStaticRule("yasm",
blueprint.RuleParams{
Command: "$yasmCmd $asFlags -o $out $in",
Command: "$yasmCmd $asFlags -o $out $in && $yasmCmd $asFlags -M $in >$out.d",
CommandDeps: []string{"$yasmCmd"},
Depfile: "$out.d",
Deps: blueprint.DepsGCC,
},
"asFlags")