Merge "Follow argument changes to RuleBuilder" am: 789c57ee04

Original change: https://android-review.googlesource.com/c/platform/build/+/1500952

Change-Id: I8f6b08d37081562ea08c684924febcaa0d5f76f6
This commit is contained in:
Colin Cross 2020-12-03 20:16:10 +00:00 committed by Automerger Merge Worker
commit 52fe30b04c
1 changed files with 2 additions and 2 deletions

View File

@ -48,10 +48,10 @@ func (t *targetFSConfigGen) GenerateAndroidBuildActions(ctx android.ModuleContex
path := android.PathForModuleGen(ctx, "empty")
t.paths = android.Paths{path}
rule := android.NewRuleBuilder()
rule := android.NewRuleBuilder(pctx, ctx)
rule.Command().Text("rm -rf").Output(path)
rule.Command().Text("touch").Output(path)
rule.Build(pctx, ctx, "fs_config_empty", "create empty file")
rule.Build("fs_config_empty", "create empty file")
}
}