Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: components/cronet/ios/BUILD.gn

Issue 2273403003: Moving gRPC support interfaces out of cronet and into a new component. (Closed)
Patch Set: Add cronet_c_for_graph back to sources. Might fix GN, probably won't compile Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cronet/ios/BUILD.gn
diff --git a/components/cronet/ios/BUILD.gn b/components/cronet/ios/BUILD.gn
index ca48d5bab724ab30266adedefbeadfeb14aed20a..9f74f968e0a3f860b77baa792fd5c4ff70150e7e 100644
--- a/components/cronet/ios/BUILD.gn
+++ b/components/cronet/ios/BUILD.gn
@@ -30,6 +30,7 @@ source_set("cronet_sources") {
deps = [
":cronet_version_header",
"//base:base",
+ "//components/grpc_support",
"//components/metrics:metrics",
"//components/metrics/proto:proto",
"//components/prefs:prefs",
@@ -44,10 +45,6 @@ source_set("cronet_sources") {
"../stale_host_resolver.h",
"../url_request_context_config.cc",
"../url_request_context_config.h",
- "cronet_bidirectional_stream.cc",
- "cronet_bidirectional_stream.h",
- "cronet_c_for_grpc.cc",
- "cronet_c_for_grpc.h",
"cronet_environment.cc",
"cronet_environment.h",
]
@@ -75,14 +72,21 @@ ios_framework_bundle("cronet_framework") {
libs = [ "UIKit.Framework" ]
+ public_deps = [
+ "//components/grpc_support",
+ ]
+
public_headers = [
"Cronet.h",
- "cronet_c_for_grpc.h",
+
+ # TODO(gcasto): Figure out some better way of doing this.
+ "../../grpc_support/cronet_c_for_grpc.h",
]
sources = [
"Cronet.h",
"Cronet.mm",
+ "../../grpc_support/cronet_c_for_graph.h",
]
configs -= [ "//build/config/compiler:default_symbols" ]

Powered by Google App Engine
This is Rietveld 408576698