gerrit/tools/bzl
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 3c1139ee68)
2018-10-25 21:03:49 +00:00
..
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
asciidoc.bzl Merge branch 'stable-2.14' into stable-2.15 2018-07-11 08:35:07 +09:00
classpath.bzl Bazel: Fix eclipse classpath generation 2018-08-14 08:22:40 +02:00
genrule2.bzl Apply buildifier to .bzl files. 2018-07-10 20:38:52 +09:00
gwt.bzl Merge branch 'stable-2.15' 2018-09-13 09:55:53 +09:00
java.bzl Apply buildifier to .bzl files. 2018-07-10 20:38:52 +09:00
javadoc.bzl Merge branch 'stable-2.14' into stable-2.15 2018-08-27 18:43:30 +09:00
js.bzl Update polygerrit_plugin() build rule 2018-10-25 21:03:49 +00:00
junit.bzl Bazel: Add support for Java 10 2018-09-25 07:31:33 +00:00
license-map.py Merge branch 'stable-2.15' 2018-09-13 09:55:53 +09:00
license.bzl Bazel: Replace PACKAGE_NAME constant with package_name() function 2018-09-11 07:58:12 +02:00
maven.bzl Apply buildifier to .bzl files. 2018-07-10 20:38:52 +09:00
maven_jar.bzl Apply buildifier to .bzl files. 2018-07-10 20:38:52 +09:00
pkg_war.bzl Merge branch 'stable-2.15' 2018-09-13 09:55:53 +09:00
plugin.bzl Merge branch 'stable-2.14' into stable-2.15 2018-07-11 08:35:07 +09:00
plugins.bzl Modify plugins:core to build codemirror-editor 2017-12-09 00:59:31 +01:00
test_empty.sh bazel: add test that forbids DO_NOT_DISTRIBUTE in //gerrit-pgm:pgm. 2016-09-21 19:52:53 +00:00
test_license.sh Make built-in bouncycastle actually work 2017-02-20 15:02:06 +01:00