Merge "Fix syntax error in bazel_handler.go." am: b809bcf331 am: e551169c0b

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

Change-Id: I960b1c86f8baf518b77fe464a2263ad6e24764da
This commit is contained in:
Rupert Shuttleworth 2021-04-06 21:49:09 +00:00 committed by Automerger Merge Worker
commit 59d482afdd
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ func (c *bazelSingleton) GenerateBuildActions(ctx SingletonContext) {
// Register bazel-owned build statements (obtained from the aquery invocation).
for index, buildStatement := range ctx.Config().BazelContext.BuildStatementsToRegister() {
if len(buildStatement.Command) < 1 {
panic(fmt.Sprintf("unhandled build statement: %s", buildStatement))
panic(fmt.Sprintf("unhandled build statement: %v", buildStatement))
}
rule := NewRuleBuilder(pctx, ctx)
cmd := rule.Command()