mirror of https://github.com/grpc/grpc-java.git
55 lines
1.4 KiB
Python
55 lines
1.4 KiB
Python
java_library(
|
|
name = "core",
|
|
visibility = ["//visibility:public"],
|
|
exports = ["//api"],
|
|
)
|
|
|
|
java_library(
|
|
name = "inprocess",
|
|
visibility = ["//visibility:public"],
|
|
exports = ["//inprocess"],
|
|
)
|
|
|
|
java_library(
|
|
name = "internal",
|
|
srcs = glob([
|
|
"src/main/java/io/grpc/internal/*.java",
|
|
]),
|
|
javacopts = ["-Xep:DoNotCall:OFF"], # Remove once requiring Bazel 3.4.0+; allows non-final
|
|
resources = glob([
|
|
"src/bazel-internal/resources/**",
|
|
]),
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//api",
|
|
"//context",
|
|
"@com_google_android_annotations//jar",
|
|
"@com_google_code_findbugs_jsr305//jar",
|
|
"@com_google_code_gson_gson//jar",
|
|
"@com_google_errorprone_error_prone_annotations//jar",
|
|
"@com_google_guava_guava//jar",
|
|
"@com_google_j2objc_j2objc_annotations//jar",
|
|
"@io_perfmark_perfmark_api//jar",
|
|
"@org_codehaus_mojo_animal_sniffer_annotations//jar",
|
|
],
|
|
)
|
|
|
|
java_library(
|
|
name = "util",
|
|
visibility = ["//visibility:public"],
|
|
exports = ["//util"],
|
|
)
|
|
|
|
# Mirrors the dependencies included in the artifact on Maven Central for usage
|
|
# with maven_install's override_targets. Should only be used as a dep for
|
|
# pre-compiled binaries on Maven Central.
|
|
java_library(
|
|
name = "core_maven",
|
|
visibility = ["//visibility:public"],
|
|
exports = [
|
|
":internal",
|
|
"//api",
|
|
"//util",
|
|
],
|
|
)
|