summaryrefslogtreecommitdiff
path: root/apex/builder.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-11-16 23:11:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-11-16 23:11:41 +0000
commit1af783fae74715bcf1a94733bd75b2e6cc688e8c (patch)
tree4fbc5ddf90574db61a533fd1d3e3b227ced2dd53 /apex/builder.go
parentf15c0558bfdd87b2b04f6f074142bd9b35ee1011 (diff)
parentcf371cc1f73f2c4ac0dc824d16160648b9b1d952 (diff)
Merge "Replace android.WriteFile rule with android.WriteFileRule"
Diffstat (limited to 'apex/builder.go')
-rw-r--r--apex/builder.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/apex/builder.go b/apex/builder.go
index ad673d656..acfb8c577 100644
--- a/apex/builder.go
+++ b/apex/builder.go
@@ -373,14 +373,7 @@ func (a *apexBundle) buildBundleConfig(ctx android.ModuleContext) android.Output
panic(fmt.Errorf("error while marshalling to %q: %#v", output, err))
}
- ctx.Build(pctx, android.BuildParams{
- Rule: android.WriteFile,
- Output: output,
- Description: "Bundle Config " + output.String(),
- Args: map[string]string{
- "content": string(j),
- },
- })
+ android.WriteFileRule(ctx, output, string(j))
return output.OutputPath
}