bazel: mark test only libraries as such.

Change-Id: Ifec05b2fd7f5482a90bcf4a7658d53d1d2ffbcc7
This commit is contained in:
Han-Wen Nienhuys 2016-11-07 16:31:52 +01:00
parent 3bdbc69305
commit f86865933c
3 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,7 @@ java_library(
'//lib/bouncycastle:bcprov-without-neverlink',
],
visibility = ['//visibility:public'],
testonly = 1,
)
junit_tests(

View File

@ -129,6 +129,7 @@ java_library(
'//lib/powermock:powermock-module-junit4-common',
],
visibility = ['//visibility:public'],
testonly = 1,
)
PROLOG_TEST_CASE = [
@ -153,6 +154,7 @@ java_library(
'//lib/guice:guice',
'//lib/prolog:runtime',
],
testonly = 1,
)
junit_tests(
@ -183,6 +185,7 @@ java_library(
'//lib/antlr:java_runtime',
],
visibility = ['//visibility:public'],
testonly = 1,
)
junit_tests(

View File

@ -20,6 +20,7 @@ java_library(
'//lib/jgit/org.eclipse.jgit:jgit',
],
visibility = ['//visibility:public'],
testonly = 1,
)
junit_tests(