| 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") {
|
|
|