Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c3b6e83 authored by Colin Cross's avatar Colin Cross Committed by Automerger Merge Worker
Browse files

Merge "Follow argument changes to RuleBuilder" am: 789c57ee am: 52fe30b0 am: 5d2012b9

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

Change-Id: I927f4464154e75c5c1d0f44fda1f027ce8571fcf
parents 1ab5b9e4 5d2012b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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")
	}
}