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

Commit 155d768e authored by Chris Parsons's avatar Chris Parsons Committed by Christopher Parsons
Browse files

Improve bazel action status mnemonics

Example output line:

```
CppCompile: [bazel-out/android_arm-fastbuild-ST-dd3fdd7bf572/bin/bionic/libc/_objs/libc_bionic_asm/
0/strcpy.o]
```

Instead of just `CppCompile`.

Fixes: 220234318
Test: `m libc` in mixed builds
Change-Id: I3e079006b1f1bb9e8db5b4f022ea993d7693aeb5
parent 309ee8d3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -848,7 +848,8 @@ func (c *bazelSingleton) GenerateBuildActions(ctx SingletonContext) {
		// build statement have later timestamps than the outputs.
		rule.Restat()

		rule.Build(fmt.Sprintf("bazel %d", index), buildStatement.Mnemonic)
		desc := fmt.Sprintf("%s: %s", buildStatement.Mnemonic, buildStatement.OutputPaths)
		rule.Build(fmt.Sprintf("bazel %d", index), desc)
	}
}