api, context: fix bazel build: export api from context and remove context dep from api (#10326)

This commit is contained in:
sanjaypujare 2023-06-29 13:51:13 -07:00 committed by GitHub
parent 8192ff6103
commit 1a9c2a0dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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"],
)

View File

@ -1,4 +1,5 @@
java_library(
name = "context",
visibility = ["//visibility:public"],
exports = ["//api"],
)