Merge "Split off schema/ from the server target"

This commit is contained in:
Han-Wen Nienhuys 2017-12-14 12:49:51 +00:00 committed by Gerrit Code Review
commit 7894b3bdbd
17 changed files with 46 additions and 1 deletions

View File

@ -59,6 +59,7 @@ PROVIDED = [
"//java/com/google/gerrit/metrics",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/pgm/init",
"//java/com/google/gerrit/server/git/receive",
"//lib:gson",

View File

@ -20,6 +20,7 @@ java_library(
"//java/com/google/gerrit/server/api",
"//java/com/google/gerrit/server/cache/h2",
"//java/com/google/gerrit/server/git/receive",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/sshd",
"//lib:guava",
"//lib:gwtorm",

View File

@ -38,6 +38,7 @@ java_library(
"//java/com/google/gerrit/server/api",
"//java/com/google/gerrit/server/cache/h2",
"//java/com/google/gerrit/server/git/receive",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/sshd",
"//java/com/google/gwtexpui/linker:server",
"//java/com/google/gwtexpui/server",

View File

@ -17,6 +17,7 @@ java_library(
"//java/com/google/gerrit/pgm/util",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/schema",
"//lib:guava",
"//lib:gwtjsonrpc",
"//lib:gwtorm",

View File

@ -13,6 +13,7 @@ java_library(
"//java/com/google/gerrit/server:module",
"//java/com/google/gerrit/server/cache/h2",
"//java/com/google/gerrit/server/git/receive",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/util/cli",
"//lib:args4j",
"//lib:guava",

View File

@ -0,0 +1,27 @@
java_library(
name = "schema",
srcs = glob(
["**/*.java"],
),
visibility = ["//visibility:public"],
deps = [
"//java/com/google/gerrit/common:annotations",
"//java/com/google/gerrit/common:server",
"//java/com/google/gerrit/extensions:api",
"//java/com/google/gerrit/lifecycle",
"//java/com/google/gerrit/metrics",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/org/eclipse/jgit:server",
"//lib:guava",
"//lib:gwtorm",
"//lib/auto:auto-value",
"//lib/commons:dbcp",
"//lib/guice",
"//lib/jgit/org.eclipse.jgit.archive:jgit-archive",
"//lib/jgit/org.eclipse.jgit:jgit",
"//lib/log:api",
"//lib/log:jsonevent-layout",
"//lib/log:log4j",
],
)

View File

@ -14,6 +14,7 @@ java_library(
"//java/com/google/gerrit/server/cache/h2",
"//java/com/google/gerrit/server/git/receive",
"//java/com/google/gerrit/server/ioutil",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/util/cli",
"//java/org/eclipse/jgit:server",
"//lib:args4j",

View File

@ -25,6 +25,7 @@ java_library(
"//java/com/google/gerrit/server:module",
"//java/com/google/gerrit/server/api",
"//java/com/google/gerrit/server/cache/h2",
"//java/com/google/gerrit/server/schema",
"//lib:gwtorm",
"//lib:h2",
"//lib:truth",

View File

@ -5,7 +5,10 @@ acceptance_tests(
group = "pgm",
labels = ["pgm"],
vm_args = ["-Xmx512m"],
deps = [":util"],
deps = [
":util",
"//java/com/google/gerrit/server/schema",
],
)
java_library(

View File

@ -7,4 +7,5 @@ acceptance_tests(
"notedb",
"server",
],
deps = ["//java/com/google/gerrit/server/schema"],
)

View File

@ -15,6 +15,7 @@ junit_tests(
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/cache/h2",
"//java/com/google/gerrit/server/project/testing:project-test-util",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/testing:gerrit-test-util",
"//lib:guava",
"//lib:gwtorm",

View File

@ -42,6 +42,7 @@ junit_tests(
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/project/testing:project-test-util",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/testing:gerrit-test-util",
"//java/org/eclipse/jgit:server",
"//lib:grappa",

View File

@ -13,6 +13,7 @@ java_library(
"//java/com/google/gerrit/lifecycle",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/testing:gerrit-test-util",
"//lib:truth",
"//lib/guice",

View File

@ -16,6 +16,7 @@ java_library(
"//java/com/google/gerrit/lifecycle",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/testing:gerrit-test-util",
"//lib:gwtorm",
"//lib:truth",

View File

@ -13,6 +13,7 @@ java_library(
"//java/com/google/gerrit/lifecycle",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/testing:gerrit-test-util",
"//lib:truth",
"//lib/guice",

View File

@ -12,6 +12,7 @@ java_library(
"//java/com/google/gerrit/lifecycle",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/testing:gerrit-test-util",
"//lib:truth",
"//lib/guice",

View File

@ -29,6 +29,7 @@ junit_tests(
"//java/com/google/gerrit/lifecycle",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/schema",
"//java/com/google/gerrit/testing:gerrit-test-util",
"//lib:guava",
"//lib:gwtorm",