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

Side by Side Diff: components/cronet/ios/BUILD.gn

Issue 2146643002: [Cronet] Integrate CrNet functionality into Cronet on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove prototype CronetEngine from this CL. Created 4 years, 4 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.h » ('j') | components/cronet/ios/Cronet.h » ('J')
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/version.gni") 9 import("//build/util/version.gni")
10 import("//chrome/version.gni") 10 import("//chrome/version.gni")
(...skipping 15 matching lines...) Expand all
26 ] 26 ]
27 } 27 }
28 28
29 source_set("cronet_sources") { 29 source_set("cronet_sources") {
30 deps = [ 30 deps = [
31 ":cronet_version_header", 31 ":cronet_version_header",
32 "//base:base", 32 "//base:base",
33 "//components/metrics:metrics", 33 "//components/metrics:metrics",
34 "//components/metrics/proto:proto", 34 "//components/metrics/proto:proto",
35 "//components/prefs:prefs", 35 "//components/prefs:prefs",
36 "//ios/net:net",
36 "//net", 37 "//net",
37 "//url", 38 "//url",
38 ] 39 ]
39 40
40 sources = [ 41 sources = [
41 "../histogram_manager.cc", 42 "../histogram_manager.cc",
42 "../histogram_manager.h", 43 "../histogram_manager.h",
43 "../url_request_context_config.cc", 44 "../url_request_context_config.cc",
44 "../url_request_context_config.h", 45 "../url_request_context_config.h",
46 "Cronet.h",
47 "Cronet.mm",
45 "cronet_bidirectional_stream.cc", 48 "cronet_bidirectional_stream.cc",
46 "cronet_bidirectional_stream.h", 49 "cronet_bidirectional_stream.h",
47 "cronet_c_for_grpc.cc", 50 "cronet_c_for_grpc.cc",
48 "cronet_c_for_grpc.h", 51 "cronet_c_for_grpc.h",
49 "cronet_environment.cc", 52 "cronet_environment.cc",
50 "cronet_environment.h", 53 "cronet_environment.h",
51 ] 54 ]
52 55
53 if (!use_platform_icu_alternatives) { 56 if (!use_platform_icu_alternatives) {
54 deps += [ "//base:i18n" ] 57 deps += [ "//base:i18n" ]
(...skipping 19 matching lines...) Expand all
74 77
75 libs = [ "UIKit.Framework" ] 78 libs = [ "UIKit.Framework" ]
76 79
77 public_headers = [ 80 public_headers = [
78 "Cronet.h", 81 "Cronet.h",
79 "cronet_c_for_grpc.h", 82 "cronet_c_for_grpc.h",
80 ] 83 ]
81 84
82 sources = [ 85 sources = [
83 "Cronet.h", 86 "Cronet.h",
84 "Cronet.mm", 87 "cronet_c_for_grpc.h",
kapishnikov 2016/08/10 17:47:40 "cronet_c_for_grpc.h" & "Cronet.h" are included in
mef 2016/08/11 21:22:15 ios_framework_bundle requires for some reason sour
85 ] 88 ]
86 89
87 configs -= [ "//build/config/compiler:default_symbols" ] 90 configs -= [ "//build/config/compiler:default_symbols" ]
88 configs += [ "//build/config/compiler:symbols" ] 91 configs += [ "//build/config/compiler:symbols" ]
89 } 92 }
90 93
91 bundle_data("cronet_test_bundle_data") { 94 bundle_data("cronet_test_bundle_data") {
92 testonly = true 95 testonly = true
93 sources = [ 96 sources = [
94 "//net/data/ssl/certificates/quic_test.example.com.crt", 97 "//net/data/ssl/certificates/quic_test.example.com.crt",
95 "//net/data/ssl/certificates/quic_test.example.com.key", 98 "//net/data/ssl/certificates/quic_test.example.com.key",
96 "//net/data/ssl/certificates/quic_test.example.com.key.pkcs8", 99 "//net/data/ssl/certificates/quic_test.example.com.key.pkcs8",
97 "//net/data/ssl/certificates/quic_test.example.com.key.sct", 100 "//net/data/ssl/certificates/quic_test.example.com.key.sct",
98 ] 101 ]
99 outputs = [ 102 outputs = [
100 "{{bundle_resources_dir}}/{{source_file_part}}", 103 "{{bundle_resources_dir}}/{{source_file_part}}",
101 ] 104 ]
102 } 105 }
103 106
104 test("cronet_test") { 107 test("cronet_test") {
105 testonly = true 108 testonly = true
106 sources = [ 109 sources = [
107 "test/cronet_bidirectional_stream_test.mm", 110 "test/cronet_bidirectional_stream_test.mm",
111 "test/cronet_http_test.mm",
108 "test/cronet_test_runner.mm", 112 "test/cronet_test_runner.mm",
109 "test/quic_test_server.cc", 113 "test/quic_test_server.cc",
110 "test/quic_test_server.h", 114 "test/quic_test_server.h",
111 ] 115 ]
112 116
113 deps = [ 117 deps = [
114 ":cronet_sources", 118 ":cronet_sources",
115 ":cronet_test_bundle_data", 119 ":cronet_test_bundle_data",
116 ":cronet_version_header", 120 ":cronet_version_header",
117 "//base", 121 "//base",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 ] 176 ]
173 } 177 }
174 178
175 group("cronet_package") { 179 group("cronet_package") {
176 deps = [ 180 deps = [
177 ":cronet_package_copy", 181 ":cronet_package_copy",
178 ":generate_license", 182 ":generate_license",
179 ] 183 ]
180 } 184 }
181 } 185 }
OLDNEW
« no previous file with comments | « no previous file | components/cronet/ios/Cronet.h » ('j') | components/cronet/ios/Cronet.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698