summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Milanesio <luca.milanesio@gmail.com>2016-11-09 17:28:41 +0000
committerDavid Ostrovsky <david.ostrovsky@gmail.com>2016-11-09 19:46:26 +0000
commit531ed177aaab613c5830b7578df2dd4d84a7f319 (patch)
treef186931840e8ec49fe1dd16bd99ec2a827486f6a
parente1beaa8e16c05af5538d6459f9e4d3e4af500bca (diff)
Fix Bazel build with testonly attribute set
Replication plugin tests depend on //gerrit-acceptance-framework:lib which is flagged with testonly attribute. For Bazel, all the dependencies in the tree need to have the testonly set consistently. Change-Id: I0eb3f6c3f2123b66b98b8c8060badc9bbaa88dd6
-rw-r--r--BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index eeabb9d..097d258 100644
--- a/BUILD
+++ b/BUILD
@@ -39,4 +39,5 @@ java_library(
'//gerrit-acceptance-framework:lib',
'//gerrit-plugin-api:lib',
],
+ testonly = 1,
)