commit | 2e78e5e37f802b9ce99cf4d3f6fb0ab9a7f785ec | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Aug 24 18:02:18 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Aug 24 18:02:18 2017 +0000 |
tree | c66f0d9d548764ee8248d336b36c7ac01cc97d66 | |
parent | 87291b110afc03f2b339ae07b664a02ac296a56b [diff] | |
parent | 1d3e545a97343d6cc726deea5ed34bea421325d0 [diff] |
Merge "Add dependency support for yasm"
diff --git a/cc/builder.go b/cc/builder.go index 873b117..b237551 100644 --- a/cc/builder.go +++ b/cc/builder.go
@@ -151,8 +151,10 @@ 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")