mirror of https://github.com/grpc/grpc-java.git
api, context: fix bazel build: export api from context and remove context dep from api (#10326)
This commit is contained in:
parent
8192ff6103
commit
1a9c2a0dac
|
|
@ -7,12 +7,10 @@ java_library(
|
||||||
javacopts = ["-Xep:DoNotCall:OFF"], # Remove once requiring Bazel 3.4.0+; allows non-final
|
javacopts = ["-Xep:DoNotCall:OFF"], # Remove once requiring Bazel 3.4.0+; allows non-final
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
"//context",
|
|
||||||
"@com_google_code_findbugs_jsr305//jar",
|
"@com_google_code_findbugs_jsr305//jar",
|
||||||
"@com_google_errorprone_error_prone_annotations//jar",
|
"@com_google_errorprone_error_prone_annotations//jar",
|
||||||
"@com_google_guava_failureaccess//jar", # future transitive dep of Guava. See #5214
|
"@com_google_guava_failureaccess//jar", # future transitive dep of Guava. See #5214
|
||||||
"@com_google_guava_guava//jar",
|
"@com_google_guava_guava//jar",
|
||||||
"@com_google_j2objc_j2objc_annotations//jar",
|
"@com_google_j2objc_j2objc_annotations//jar",
|
||||||
],
|
],
|
||||||
exports = ["//context"],
|
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
java_library(
|
java_library(
|
||||||
name = "context",
|
name = "context",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
|
exports = ["//api"],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue