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

Side by Side 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, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/cronet/ios/Cronet.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/ios/rules.gni") 6 import("//build/config/ios/rules.gni")
7 import("//build/config/mac/symbols.gni") 7 import("//build/config/mac/symbols.gni")
8 import("//build/mac/tweak_info_plist.gni") 8 import("//build/mac/tweak_info_plist.gni")
9 import("//build/util/process_version.gni") 9 import("//build/util/process_version.gni")
10 import("//build/util/version.gni") 10 import("//build/util/version.gni")
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 if (!use_platform_icu_alternatives) { 64 if (!use_platform_icu_alternatives) {
65 deps += [ "//base:i18n" ] 65 deps += [ "//base:i18n" ]
66 } 66 }
67 } 67 }
68 68
69 # Tweak |info_plist| with current version and revision. 69 # Tweak |info_plist| with current version and revision.
70 tweak_info_plist("tweak_cronet_plist") { 70 tweak_info_plist("tweak_cronet_plist") {
71 info_plist = "Info.plist" 71 info_plist = "Info.plist"
72 } 72 }
73 73
74 static_library("cronet_static") {
75 deps = [
76 ":cronet_version_header",
77 ":generate_accept_languages",
78 "//base:base",
79 "//components/grpc_support",
80 "//components/metrics:metrics",
81 "//components/metrics/proto:proto",
82 "//components/prefs:prefs",
83 "//ios/net:net",
84 "//ios/web:user_agent",
85 "//net",
86 "//url",
87 ]
88
89 # libs = [ "UIKit.Framework" ]
90
91 include_dirs = [ "//components/grpc_support/include" ]
92
93 public_deps = [
94 "//components/grpc_support",
95 ]
96
97 public_headers = [
98 "Cronet.h",
99 "cronet_c_for_grpc.h",
100 ]
101 public_headers += grpc_public_headers
102
103 sources = [
104 "../histogram_manager.cc",
105 "../histogram_manager.h",
106 "../stale_host_resolver.cc",
107 "../stale_host_resolver.h",
108 "../url_request_context_config.cc",
109 "../url_request_context_config.h",
110 "Cronet.h",
111 "Cronet.mm",
112 "cronet_c_for_grpc.h",
113 "cronet_environment.h",
114 "cronet_environment.mm",
115 ]
116 }
117
74 ios_framework_bundle("cronet_framework") { 118 ios_framework_bundle("cronet_framework") {
75 output_name = "Cronet" 119 output_name = "Cronet"
76 info_plist_target = ":tweak_cronet_plist" 120 info_plist_target = ":tweak_cronet_plist"
77 121
78 deps = [ 122 deps = [
79 ":cronet_sources", 123 ":cronet_sources",
80 "//base", 124 "//base",
81 "//net:net", 125 "//net:net",
82 ] 126 ]
83 127
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } else { 247 } else {
204 group("cronet_dsym_archive") { 248 group("cronet_dsym_archive") {
205 } 249 }
206 } 250 }
207 251
208 group("cronet_package") { 252 group("cronet_package") {
209 deps = [ 253 deps = [
210 ":cronet_dsym_archive", 254 ":cronet_dsym_archive",
211 ":cronet_package_copy", 255 ":cronet_package_copy",
212 ":generate_license", 256 ":generate_license",
257 "//components/cronet/ios/sample:cronet_sample",
213 ] 258 ]
214 } 259 }
215 } 260 }
OLDNEW
« 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