| load("@rules_java//java:defs.bzl", "java_library") |
| |
| # TODO(davido): This indirection doesn't avoid unwanted depdencies |
| # in acceptance-framework and should be removed. Instead, provided_deps |
| # should be used, once https://github.com/bazelbuild/bazel/issues/1402 |
| # is fixed. |
| alias( |
| name = "pgm", |
| actual = ":daemon", |
| visibility = ["//visibility:public"], |
| ) |
| |
| java_library( |
| name = "daemon", |
| srcs = glob(["**/*.java"]), |
| resource_strip_prefix = "resources", |
| resources = ["//resources/com/google/gerrit/pgm"], |
| visibility = ["//visibility:public"], |
| deps = [ |
| "//java/com/google/gerrit/common:annotations", |
| "//java/com/google/gerrit/common:server", |
| "//java/com/google/gerrit/elasticsearch", |
| "//java/com/google/gerrit/extensions:api", |
| "//java/com/google/gerrit/gpg", |
| "//java/com/google/gerrit/httpd", |
| "//java/com/google/gerrit/httpd/auth/oauth", |
| "//java/com/google/gerrit/httpd/auth/openid", |
| "//java/com/google/gerrit/index", |
| "//java/com/google/gerrit/index/project", |
| "//java/com/google/gerrit/launcher", |
| "//java/com/google/gerrit/lifecycle", |
| "//java/com/google/gerrit/lucene", |
| "//java/com/google/gerrit/metrics/dropwizard", |
| "//java/com/google/gerrit/pgm/http", |
| "//java/com/google/gerrit/pgm/init", |
| "//java/com/google/gerrit/pgm/init/api", |
| "//java/com/google/gerrit/pgm/util", |
| "//java/com/google/gerrit/reviewdb:server", |
| "//java/com/google/gerrit/server", |
| "//java/com/google/gerrit/server:module", |
| "//java/com/google/gerrit/server/api", |
| "//java/com/google/gerrit/server/audit", |
| "//java/com/google/gerrit/server/cache/h2", |
| "//java/com/google/gerrit/server/cache/mem", |
| "//java/com/google/gerrit/server/git/receive", |
| "//java/com/google/gerrit/server/ioutil", |
| "//java/com/google/gerrit/server/restapi", |
| "//java/com/google/gerrit/server/schema", |
| "//java/com/google/gerrit/server/util/time", |
| "//java/com/google/gerrit/sshd", |
| "//java/com/google/gerrit/util/http", |
| "//lib:args4j", |
| "//lib:guava", |
| "//lib:gwtorm", |
| "//lib:protobuf", |
| "//lib:servlet-api-3_1-without-neverlink", |
| "//lib/auto:auto-value", |
| "//lib/auto:auto-value-annotations", |
| "//lib/flogger:api", |
| "//lib/guice", |
| "//lib/guice:guice-assistedinject", |
| "//lib/guice:guice-servlet", |
| "//lib/jgit/org.eclipse.jgit:jgit", |
| "//lib/log:jsonevent-layout", |
| "//lib/log:log4j", |
| "//lib/prolog:cafeteria", |
| "//lib/prolog:compiler", |
| "//lib/prolog:runtime", |
| ], |
| ) |