viktard 063bdc632d Update polygerrit_plugin() build rule
Add support for .js based plugins, custom plugin_name to prevent
conflicts with server-side plugins with the same name.

Here's an example:
https://chromium-review.googlesource.com/c/infra/gerrit-plugins/landingwidget/+/1295049

So what we want to achieve is to have:

  gerrit_plugin(
    name = "landingwidget",
  [...]

and

  polygerrit_plugin(
    name = "landingwidget_ui",
    plugin_name = "landingwidget",
  [...]

and produce the following final artifacts:

  landingwidget.jar
  landingwidget.js

Change-Id: Ic9c68809cbaaf4650301d98e56d7c1c76e008251
(cherry picked from commit 3c1139ee689ae0df4f99a6b6fd7575c994490c93)
2018-10-25 21:03:49 +00:00
..
2018-10-25 21:03:49 +00:00
2018-10-23 19:36:30 +00:00
2015-08-26 09:03:24 -06:00
2018-09-19 15:27:19 +09:00