forked from openkylin/platform_build
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:
commit
52fe30b04c
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue