archive: use library's name for archive name (#2652)

If a custom Go rule generates more than one library, or otherwise
changes the name of the GoLibrary, the emitted archive will still have
the _ctx.label.name. To deconflict, use the library's name as the
emitted archive's name.

Signed-off-by: Chris Koch <chrisko@google.com>
1 file changed