Make binary_http library available to external bazel users. PiperOrigin-RevId: 472500297
diff --git a/quiche/BUILD.bazel b/quiche/BUILD.bazel index fd35ab8..cd700f7 100644 --- a/quiche/BUILD.bazel +++ b/quiche/BUILD.bazel
@@ -4,6 +4,8 @@ load( "//build:source_list.bzl", + "binary_http_hdrs", + "binary_http_srcs", "default_platform_impl_hdrs", "default_platform_impl_srcs", "default_platform_impl_test_support_hdrs", @@ -45,6 +47,20 @@ ], ) +cc_library( + name = "binary_http", + srcs = binary_http_srcs, + hdrs = binary_http_hdrs, + deps = [ + ":quiche_core", + "@com_google_absl//absl/base:core_headers", + "@com_google_absl//absl/container:flat_hash_map", + "@com_google_absl//absl/status", + "@com_google_absl//absl/status:statusor", + "@com_google_absl//absl/strings", + ], +) + # QUICHE_EXPORT is used by all platform definitions, and thus needs to be handled separately. cc_library( name = "quiche_platform_default_quiche_export", @@ -200,6 +216,7 @@ srcs = quiche_test_support_srcs, hdrs = quiche_test_support_hdrs, deps = [ + ":binary_http", ":quiche_core", ":quiche_platform_default_testonly", ":quiche_protobufs_testonly_cc_proto", @@ -268,6 +285,12 @@ ) alias( + name = "binary_http_unstable_api", + actual = ":binary_http", + visibility = ["//visibility:public"], +) + +alias( name = "quiche_unstable_api_tool_support", actual = ":quiche_tool_support", visibility = ["//visibility:public"],