Extract prolog predicates from gerrit-server:server rule

Change-Id: I52a22035f7b0189c6d1e21cf05c85901c5235853
This commit is contained in:
David Ostrovsky 2017-08-22 09:11:42 +02:00 committed by Dave Borowitz
parent 36daeea48a
commit 3d6cf9b6cc
20 changed files with 16 additions and 1 deletions

15
java/gerrit/BUILD Normal file
View File

@ -0,0 +1,15 @@
java_library(
name = "prolog-predicates",
srcs = glob(["**/*.java"]),
visibility = ["//visibility:public"],
deps = [
"//gerrit-server:server",
"//java/com/google/gerrit/common:server",
"//java/com/google/gerrit/extensions:api",
"//java/com/google/gerrit/reviewdb:server",
"//lib:gwtorm",
"//lib/jgit/org.eclipse.jgit:jgit",
"//lib/log:api",
"//lib/prolog:runtime",
],
)

View File

@ -4,5 +4,5 @@ prolog_cafe_library(
name = "gerrit-prolog-common",
srcs = ["gerrit_common.pl"],
visibility = ["//visibility:public"],
deps = ["//gerrit-server:server"],
deps = ["//java/gerrit:prolog-predicates"],
)