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

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

Issue 2771633002: Prototype Cronet static library and Cronet Sample App for iOS. (Closed)
Patch Set: Leak HttpProtocolHandlerDelegate. Created 3 years, 9 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.mm » ('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 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",
]
}
}
« no previous file with comments | « no previous file | components/cronet/ios/Cronet.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698