| Index: components/cronet/ios/BUILD.gn
|
| diff --git a/components/cronet/ios/BUILD.gn b/components/cronet/ios/BUILD.gn
|
| index ac1dfe0620298748e245c9330e3e21cebd106045..923a48ce84a649f288eff263f094db0499355f17 100644
|
| --- a/components/cronet/ios/BUILD.gn
|
| +++ b/components/cronet/ios/BUILD.gn
|
| @@ -71,6 +71,50 @@ tweak_info_plist("tweak_cronet_plist") {
|
| info_plist = "Info.plist"
|
| }
|
|
|
| +static_library("cronet_static") {
|
| + deps = [
|
| + ":cronet_version_header",
|
| + ":generate_accept_languages",
|
| + "//base:base",
|
| + "//components/grpc_support",
|
| + "//components/metrics:metrics",
|
| + "//components/metrics/proto:proto",
|
| + "//components/prefs:prefs",
|
| + "//ios/net:net",
|
| + "//ios/web:user_agent",
|
| + "//net",
|
| + "//url",
|
| + ]
|
| +
|
| + # libs = [ "UIKit.Framework" ]
|
| +
|
| + include_dirs = [ "//components/grpc_support/include" ]
|
| +
|
| + public_deps = [
|
| + "//components/grpc_support",
|
| + ]
|
| +
|
| + public_headers = [
|
| + "Cronet.h",
|
| + "cronet_c_for_grpc.h",
|
| + ]
|
| + public_headers += grpc_public_headers
|
| +
|
| + sources = [
|
| + "../histogram_manager.cc",
|
| + "../histogram_manager.h",
|
| + "../stale_host_resolver.cc",
|
| + "../stale_host_resolver.h",
|
| + "../url_request_context_config.cc",
|
| + "../url_request_context_config.h",
|
| + "Cronet.h",
|
| + "Cronet.mm",
|
| + "cronet_c_for_grpc.h",
|
| + "cronet_environment.h",
|
| + "cronet_environment.mm",
|
| + ]
|
| +}
|
| +
|
| ios_framework_bundle("cronet_framework") {
|
| output_name = "Cronet"
|
| info_plist_target = ":tweak_cronet_plist"
|
| @@ -210,6 +254,7 @@ if (additional_toolchains == [] || current_toolchain == default_toolchain) {
|
| ":cronet_dsym_archive",
|
| ":cronet_package_copy",
|
| ":generate_license",
|
| + "//components/cronet/ios/sample:cronet_sample",
|
| ]
|
| }
|
| }
|
|
|