aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanjaypujare <sanjaypujare@users.noreply.github.com>2023-06-29 13:51:13 -0700
committerGitHub <noreply@github.com>2023-06-29 13:51:13 -0700
commit1a9c2a0dacdd97b074d2055f66149c65dff9424c (patch)
tree252e7bebe8d92461e01afed1e237c2b421653888
parent8192ff610373cf395d12c2893e2b40cd0cd6517d (diff)
downloadgrpc-grpc-java-1a9c2a0dacdd97b074d2055f66149c65dff9424c.tar.gz
api, context: fix bazel build: export api from context and remove context dep from api (#10326)
-rw-r--r--api/BUILD.bazel2
-rw-r--r--context/BUILD.bazel1
2 files changed, 1 insertions, 2 deletions
diff --git a/api/BUILD.bazel b/api/BUILD.bazel
index b513bc120..efd1e8d96 100644
--- a/api/BUILD.bazel
+++ b/api/BUILD.bazel
@@ -7,12 +7,10 @@ java_library(
javacopts = ["-Xep:DoNotCall:OFF"], # Remove once requiring Bazel 3.4.0+; allows non-final
visibility = ["//visibility:public"],
deps = [
- "//context",
"@com_google_code_findbugs_jsr305//jar",
"@com_google_errorprone_error_prone_annotations//jar",
"@com_google_guava_failureaccess//jar", # future transitive dep of Guava. See #5214
"@com_google_guava_guava//jar",
"@com_google_j2objc_j2objc_annotations//jar",
],
- exports = ["//context"],
)
diff --git a/context/BUILD.bazel b/context/BUILD.bazel
index a5289a1ff..d0c4b04ce 100644
--- a/context/BUILD.bazel
+++ b/context/BUILD.bazel
@@ -1,4 +1,5 @@
java_library(
name = "context",
visibility = ["//visibility:public"],
+ exports = ["//api"],
)