Third try at landing gRPC refactoring. Previous iteration failed on opt builds because it did work inside a DCHECK().
Revert "Revert of Revert "Revert of Moving gRPC support interfaces out of cronet and into a new component. (patchset … (patchset #5 id:100001 of https://codereview.chromium.org/2470923002/ )"
This reverts commit f42bc4c56bd255e293109de16b8d19b7adcdc889.
[email protected]
BUG=650462
Review-Url: https://codereview.chromium.org/2492703002
Cr-Commit-Position: refs/heads/master@{#431366}
diff --git a/components/grpc_support/BUILD.gn b/components/grpc_support/BUILD.gn
new file mode 100644
index 0000000..95ada09
--- /dev/null
+++ b/components/grpc_support/BUILD.gn
@@ -0,0 +1,33 @@
+source_set("grpc_support") {
+ sources = [
+ "bidirectional_stream.cc",
+ "bidirectional_stream.h",
+ "bidirectional_stream_c.cc",
+ "include/bidirectional_stream_c.h",
+ ]
+
+ deps = [
+ "//base",
+ "//net",
+ "//url",
+ ]
+}
+
+source_set("bidirectional_stream_unittest") {
+ testonly = true
+ sources = [
+ "bidirectional_stream_unittest.cc",
+ ]
+
+ deps = [
+ ":grpc_support",
+ "//base",
+ "//components/grpc_support/test:quic_test_server",
+ "//net",
+ "//net:test_support",
+ ]
+
+ public_deps = [
+ "//components/grpc_support/test:get_stream_engine_header",
+ ]
+}