twitter-algorithm/graph-feature-service/BUILD.bazel
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
2023-03-31 17:36:31 -05:00

68 lines
1.9 KiB
Python

alias(
name = "graph_feature_service-server",
target = ":graph_feature_service-server_lib",
)
target(
name = "graph_feature_service-server_lib",
dependencies = [
"graph-feature-service/src/main/scala/com/twitter/graph_feature_service/server",
],
)
alias(
name = "graph_feature_service-worker",
target = ":graph_feature_service-worker_lib",
)
target(
name = "graph_feature_service-worker_lib",
dependencies = [
"graph-feature-service/src/main/scala/com/twitter/graph_feature_service/worker",
],
)
jvm_binary(
name = "server-bin",
basename = "graph_feature_service-server",
main = "com.twitter.graph_feature_service.server.Main",
platform = "java8",
tags = ["bazel-compatible"],
dependencies = [
":graph_feature_service-server",
"3rdparty/jvm/ch/qos/logback:logback-classic",
"finagle/finagle-zipkin-scribe/src/main/scala",
"loglens/loglens-logback/src/main/scala/com/twitter/loglens/logback",
"twitter-server/logback-classic/src/main/scala",
],
)
jvm_binary(
name = "worker-bin",
basename = "graph_feature_service-worker",
main = "com.twitter.graph_feature_service.worker.Main",
platform = "java8",
tags = ["bazel-compatible"],
dependencies = [
":graph_feature_service-worker",
"3rdparty/jvm/ch/qos/logback:logback-classic",
"finagle/finagle-zipkin-scribe/src/main/scala",
"loglens/loglens-logback/src/main/scala/com/twitter/loglens/logback",
"twitter-server/logback-classic/src/main/scala",
],
)
jvm_app(
name = "server-bundle",
basename = "graph_feature_service-server-dist",
binary = ":server-bin",
tags = ["bazel-compatible"],
)
jvm_app(
name = "worker-bundle",
basename = "graph_feature_service-worker-dist",
binary = ":worker-bin",
tags = ["bazel-compatible"],
)