gerrit/gerrit-acceptance-tests/tests.bzl
David Ostrovsky c5f8066629 Don't ship bouncycastle libraries in plugin API
We cannot shade bouncycastle in the plugin API. Still we need it to be
included in the gerrit.war, licenses file and Eclipse classpath.

Expose bouncycastle libraries in PLUGIN_TEST_DEPS constant, so that
the plugins don't need to change anything in tree build mode.

gerrit_api() bazlet in bazlets repository is extended too, so that the
plugins don't need to change anything in standalone build mode.

One side effect of this change, is that bouncycastle libraries are
now listed with neverlink suffix, e.g.:

* bouncycastle:bcprov-neverlink

Bug: Issue 5826
Change-Id: Idb8051e16b14e20c8dd528783ab297ee25707bb3
2017-04-07 07:38:04 +02:00

22 lines
378 B
Python

load("//tools/bzl:junit.bzl", "junit_tests")
def acceptance_tests(
group,
deps = [],
labels = [],
vm_args = ['-Xmx256m'],
**kwargs):
junit_tests(
name = group,
deps = deps + [
'//gerrit-acceptance-tests:lib',
],
tags = labels + [
'acceptance',
'slow',
],
size = "large",
jvm_flags = vm_args,
**kwargs
)