Fix open-source QUICHE build. PiperOrigin-RevId: 482209464
diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index aa887dd..8b8cc6e 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel
@@ -32,9 +32,9 @@ http_archive( name = "boringssl", - sha256 = "482a59ea63d03fbb4d3cab22e40043fb4eef2cbbdc2eb944cd627675ae8b0cf3", # Last updated 2022-05-18 - strip_prefix = "boringssl-02c6711efbb6c9dc6236a1c3779af1bcb0274dfd", - urls = ["https://github.com/google/boringssl/archive/02c6711efbb6c9dc6236a1c3779af1bcb0274dfd.tar.gz"], + sha256 = "5d299325d1db8b2f2db3d927c7bc1f9fcbd05a3f9b5c8239fa527c09bf97f995", # Last updated 2022-10-19 + strip_prefix = "boringssl-0acfcff4be10514aacb98eb8ab27bb60136d131b", + urls = ["https://github.com/google/boringssl/archive/0acfcff4be10514aacb98eb8ab27bb60136d131b.tar.gz"], ) http_archive(
diff --git a/quiche/BUILD.bazel b/quiche/BUILD.bazel index bcc50f6..872c93f 100644 --- a/quiche/BUILD.bazel +++ b/quiche/BUILD.bazel
@@ -17,6 +17,8 @@ "io_tests_srcs", "io_tool_support_hdrs", "io_tool_support_srcs", + "oblivious_http_hdrs", + "oblivious_http_srcs", "quiche_core_hdrs", "quiche_core_srcs", "quiche_test_support_hdrs", @@ -66,6 +68,23 @@ ], ) +cc_library( + name = "oblivious_http", + srcs = oblivious_http_srcs, + hdrs = oblivious_http_hdrs, + deps = [ + ":quiche_core", + "@boringssl//:crypto", + "@com_google_absl//absl/base:core_headers", + "@com_google_absl//absl/container:flat_hash_map", + "@com_google_absl//absl/memory", + "@com_google_absl//absl/status", + "@com_google_absl//absl/status:statusor", + "@com_google_absl//absl/strings", + "@com_google_absl//absl/types:optional", + ], +) + # QUICHE_EXPORT is used by all platform definitions, and thus needs to be handled separately. cc_library( name = "quiche_platform_default_quiche_export", @@ -258,6 +277,7 @@ ":quiche_protobufs_testonly_cc_proto", ":quiche_test_support", ":quiche_tool_support", + ":oblivious_http", "@boringssl//:crypto", "@boringssl//:ssl", "@com_google_absl//absl/algorithm:container",