| Index: components/cronet/ios/BUILD.gn
|
| diff --git a/components/cronet/ios/BUILD.gn b/components/cronet/ios/BUILD.gn
|
| index 027b66da0ae8ce294923041194f8c9415798fe85..7b7afa1857ad5a802bfe4db7f10df892ffa6ef15 100644
|
| --- a/components/cronet/ios/BUILD.gn
|
| +++ b/components/cronet/ios/BUILD.gn
|
| @@ -8,6 +8,7 @@ import("//build/config/mac/symbols.gni")
|
| import("//build/mac/tweak_info_plist.gni")
|
| import("//build/util/process_version.gni")
|
| import("//build/util/version.gni")
|
| +import("//components/grpc_support/include/headers.gni")
|
| import("//testing/test.gni")
|
| import("//url/features.gni")
|
|
|
| @@ -33,6 +34,7 @@ source_set("cronet_sources") {
|
| deps = [
|
| ":cronet_version_header",
|
| "//base:base",
|
| + "//components/grpc_support",
|
| "//components/metrics:metrics",
|
| "//components/metrics/proto:proto",
|
| "//components/prefs:prefs",
|
| @@ -47,10 +49,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",
|
| ]
|
| @@ -78,11 +76,15 @@ ios_framework_bundle("cronet_framework") {
|
|
|
| libs = [ "UIKit.Framework" ]
|
|
|
| - public_headers = [
|
| - "Cronet.h",
|
| - "cronet_c_for_grpc.h",
|
| + include_dirs = [ "//components/grpc_support/include" ]
|
| +
|
| + public_deps = [
|
| + "//components/grpc_support",
|
| ]
|
|
|
| + public_headers = [ "Cronet.h" ]
|
| + public_headers += grpc_public_headers
|
| +
|
| sources = [
|
| "Cronet.h",
|
| "Cronet.mm",
|
| @@ -120,6 +122,7 @@ test("cronet_test") {
|
| ":cronet_version_header",
|
| "//base",
|
| "//base:i18n",
|
| + "//components/grpc_support",
|
| "//net",
|
| "//net:simple_quic_tools",
|
| "//net:test_support",
|
|
|