diff options
author | 2020-11-16 23:11:41 +0000 | |
---|---|---|
committer | 2020-11-16 23:11:41 +0000 | |
commit | 1af783fae74715bcf1a94733bd75b2e6cc688e8c (patch) | |
tree | 4fbc5ddf90574db61a533fd1d3e3b227ced2dd53 /apex/builder.go | |
parent | f15c0558bfdd87b2b04f6f074142bd9b35ee1011 (diff) | |
parent | cf371cc1f73f2c4ac0dc824d16160648b9b1d952 (diff) |
Merge "Replace android.WriteFile rule with android.WriteFileRule"
Diffstat (limited to 'apex/builder.go')
-rw-r--r-- | apex/builder.go | 9 |
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 } |