build: disambiguate rollup progress message (#23318)

All our package labels are `npm_package` so the bazel build reports a bunch of identical actions running, like

```
    Angular Packaging: rolling up npm_package; 31s darwin-sandbox
    Angular Packaging: rolling up npm_package; 30s darwin-sandbox
    Angular Packaging: rolling up npm_package; 29s darwin-sandbox
    Angular Packaging: rolling up npm_package; 27s darwin-sandbox
    Angular Packaging: rolling up npm_package; 26s darwin-sandbox
    Angular Packaging: rolling up npm_package; 23s darwin-sandbox
    Angular Packaging: rolling up npm_package; 19s darwin-sandbox
    Angular Packaging: rolling up npm_package; 11s darwin-sandbox
```
PR Close #23318
This commit is contained in:
Alex Eagle 2018-04-11 08:57:30 -07:00 committed by Victor Berchet
parent 0d516f1658
commit d1e33d2df7
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ def _rollup(ctx, rollup_config, entry_point, inputs, js_output, format = "es", p
if ctx.version_file:
other_inputs.append(ctx.version_file)
ctx.actions.run(
progress_message = "Angular Packaging: rolling up %s" % ctx.label.name,
progress_message = "ng_package: Rollup %s" % ctx.label,
mnemonic = "AngularPackageRollup",
inputs = inputs.to_list() + other_inputs,
outputs = [js_output, map_output],