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

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

Issue 2146643002: [Cronet] Integrate CrNet functionality into Cronet on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync Created 4 years, 2 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
« no previous file with comments | « no previous file | components/cronet/ios/Cronet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/BUILD.gn
diff --git a/components/cronet/ios/BUILD.gn b/components/cronet/ios/BUILD.gn
index 027b66da0ae8ce294923041194f8c9415798fe85..1f95d0fef09dcd96e07816f239af06864495e985 100644
--- a/components/cronet/ios/BUILD.gn
+++ b/components/cronet/ios/BUILD.gn
@@ -36,6 +36,8 @@ source_set("cronet_sources") {
"//components/metrics:metrics",
"//components/metrics/proto:proto",
"//components/prefs:prefs",
+ "//ios/net:net",
+ "//ios/web:user_agent",
"//net",
"//url",
]
@@ -47,6 +49,8 @@ source_set("cronet_sources") {
"../stale_host_resolver.h",
"../url_request_context_config.cc",
"../url_request_context_config.h",
+ "Cronet.h",
+ "Cronet.mm",
"cronet_bidirectional_stream.cc",
"cronet_bidirectional_stream.h",
"cronet_c_for_grpc.cc",
@@ -85,7 +89,7 @@ ios_framework_bundle("cronet_framework") {
sources = [
"Cronet.h",
- "Cronet.mm",
+ "cronet_c_for_grpc.h",
]
configs -= [ "//build/config/compiler:default_symbols" ]
@@ -109,13 +113,14 @@ test("cronet_test") {
testonly = true
sources = [
"test/cronet_bidirectional_stream_test.mm",
+ "test/cronet_http_test.mm",
"test/cronet_test_runner.mm",
"test/quic_test_server.cc",
"test/quic_test_server.h",
]
deps = [
- ":cronet_sources",
+ ":cronet_framework+link",
":cronet_test_bundle_data",
":cronet_version_header",
"//base",
@@ -125,6 +130,8 @@ test("cronet_test") {
"//net:test_support",
"//third_party/icu",
]
+
+ bundle_deps = [ ":cronet_framework+bundle" ]
}
test("cronet_unittests") {
« no previous file with comments | « no previous file | components/cronet/ios/Cronet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698