OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 sources -= [ | 143 sources -= [ |
144 "dns/address_sorter_posix.cc", | 144 "dns/address_sorter_posix.cc", |
145 "dns/address_sorter_posix.h", | 145 "dns/address_sorter_posix.h", |
146 "dns/dns_client.cc", | 146 "dns/dns_client.cc", |
147 ] | 147 ] |
148 } | 148 } |
149 | 149 |
150 if (!use_openssl_certs) { | 150 if (!use_openssl_certs) { |
151 sources -= [ | 151 sources -= [ |
152 "base/crypto_module_openssl.cc", | 152 "base/crypto_module_openssl.cc", |
153 "base/keygen_handler_openssl.cc", | |
154 "base/openssl_private_key_store.h", | |
155 "base/openssl_private_key_store_memory.cc", | |
156 "cert/cert_database_openssl.cc", | 153 "cert/cert_database_openssl.cc", |
157 "cert/cert_verify_proc_openssl.cc", | 154 "cert/cert_verify_proc_openssl.cc", |
158 "cert/cert_verify_proc_openssl.h", | 155 "cert/cert_verify_proc_openssl.h", |
159 "cert/test_root_certs_openssl.cc", | 156 "cert/test_root_certs_openssl.cc", |
160 "cert/x509_certificate_openssl.cc", | 157 "cert/x509_certificate_openssl.cc", |
161 "ssl/openssl_client_key_store.cc", | 158 "ssl/openssl_client_key_store.cc", |
162 "ssl/openssl_client_key_store.h", | 159 "ssl/openssl_client_key_store.h", |
163 ] | 160 ] |
164 if (is_android) { | |
165 sources -= [ "base/openssl_private_key_store_android.cc" ] | |
166 } | |
167 } else { | 161 } else { |
168 if (is_android) { | 162 if (is_android) { |
169 # Android doesn't use these even when using OpenSSL. | 163 # Android doesn't use these even when using OpenSSL. |
170 sources -= [ | 164 sources -= [ |
171 "base/openssl_private_key_store_memory.cc", | |
172 "cert/cert_database_openssl.cc", | 165 "cert/cert_database_openssl.cc", |
173 "cert/cert_verify_proc_openssl.cc", | 166 "cert/cert_verify_proc_openssl.cc", |
174 "cert/test_root_certs_openssl.cc", | 167 "cert/test_root_certs_openssl.cc", |
175 ] | 168 ] |
176 } | 169 } |
177 } | 170 } |
178 | 171 |
179 if (!use_kerberos || is_android) { | 172 if (!use_kerberos || is_android) { |
180 sources -= [ | 173 sources -= [ |
181 "http/http_auth_gssapi_posix.cc", | 174 "http/http_auth_gssapi_posix.cc", |
182 "http/http_auth_gssapi_posix.h", | 175 "http/http_auth_gssapi_posix.h", |
183 ] | 176 ] |
184 } | 177 } |
185 | 178 |
186 if (use_gio) { | 179 if (use_gio) { |
187 deps += [ "//build/linux/libgio" ] | 180 deps += [ "//build/linux/libgio" ] |
188 } | 181 } |
189 | 182 |
190 if (!use_nss_certs) { | 183 if (!use_nss_certs) { |
191 sources -= [ | 184 sources -= [ |
192 "base/crypto_module_nss.cc", | 185 "base/crypto_module_nss.cc", |
193 "base/keygen_handler_nss.cc", | |
194 "cert/cert_database_nss.cc", | 186 "cert/cert_database_nss.cc", |
195 "cert/internal/cert_issuer_source_nss.cc", | 187 "cert/internal/cert_issuer_source_nss.cc", |
196 "cert/internal/cert_issuer_source_nss.h", | 188 "cert/internal/cert_issuer_source_nss.h", |
197 "cert/internal/trust_store_nss.cc", | 189 "cert/internal/trust_store_nss.cc", |
198 "cert/internal/trust_store_nss.h", | 190 "cert/internal/trust_store_nss.h", |
199 "cert/nss_cert_database.cc", | 191 "cert/nss_cert_database.cc", |
200 "cert/nss_cert_database.h", | 192 "cert/nss_cert_database.h", |
201 "cert/x509_certificate_nss.cc", | 193 "cert/x509_certificate_nss.cc", |
202 "ssl/client_cert_store_nss.cc", | 194 "ssl/client_cert_store_nss.cc", |
203 "ssl/client_cert_store_nss.h", | 195 "ssl/client_cert_store_nss.h", |
204 "third_party/mozilla_security_manager/nsKeygenHandler.cpp", | |
205 "third_party/mozilla_security_manager/nsKeygenHandler.h", | |
206 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", | 196 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", |
207 "third_party/mozilla_security_manager/nsNSSCertificateDB.h", | 197 "third_party/mozilla_security_manager/nsNSSCertificateDB.h", |
208 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", | 198 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", |
209 "third_party/mozilla_security_manager/nsPKCS12Blob.h", | 199 "third_party/mozilla_security_manager/nsPKCS12Blob.h", |
210 ] | 200 ] |
211 if (is_chromeos) { | 201 if (is_chromeos) { |
212 # These were already removed on non-ChromeOS. | 202 # These were already removed on non-ChromeOS. |
213 sources -= [ | 203 sources -= [ |
214 "cert/nss_cert_database_chromeos.cc", | 204 "cert/nss_cert_database_chromeos.cc", |
215 "cert/nss_cert_database_chromeos.h", | 205 "cert/nss_cert_database_chromeos.h", |
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1449 sources -= [ | 1439 sources -= [ |
1450 "dns/mdns_cache_unittest.cc", | 1440 "dns/mdns_cache_unittest.cc", |
1451 "dns/mdns_client_unittest.cc", | 1441 "dns/mdns_client_unittest.cc", |
1452 ] | 1442 ] |
1453 } | 1443 } |
1454 | 1444 |
1455 if (is_ios) { | 1445 if (is_ios) { |
1456 sources -= [ | 1446 sources -= [ |
1457 # TODO(droger): The following tests are disabled because the | 1447 # TODO(droger): The following tests are disabled because the |
1458 # implementation is missing or incomplete. | 1448 # implementation is missing or incomplete. |
1459 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. | |
1460 "base/keygen_handler_unittest.cc", | |
1461 "disk_cache/backend_unittest.cc", | 1449 "disk_cache/backend_unittest.cc", |
1462 "disk_cache/blockfile/block_files_unittest.cc", | 1450 "disk_cache/blockfile/block_files_unittest.cc", |
1463 | 1451 |
1464 # Need to read input data files. | 1452 # Need to read input data files. |
1465 "socket/ssl_server_socket_unittest.cc", | 1453 "socket/ssl_server_socket_unittest.cc", |
1466 "spdy/fuzzing/hpack_fuzz_util_test.cc", | 1454 "spdy/fuzzing/hpack_fuzz_util_test.cc", |
1467 | 1455 |
1468 # Need TestServer. | 1456 # Need TestServer. |
1469 "cert_net/cert_net_fetcher_impl_unittest.cc", | 1457 "cert_net/cert_net_fetcher_impl_unittest.cc", |
1470 "proxy/proxy_script_fetcher_impl_unittest.cc", | 1458 "proxy/proxy_script_fetcher_impl_unittest.cc", |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2091 if (host_toolchain == current_toolchain) { | 2079 if (host_toolchain == current_toolchain) { |
2092 executable("domain_security_preload_generator") { | 2080 executable("domain_security_preload_generator") { |
2093 sources = gypi_values.net_domain_security_state_generator_sources | 2081 sources = gypi_values.net_domain_security_state_generator_sources |
2094 deps = [ | 2082 deps = [ |
2095 "//base", | 2083 "//base", |
2096 "//crypto", | 2084 "//crypto", |
2097 "//third_party/boringssl", | 2085 "//third_party/boringssl", |
2098 ] | 2086 ] |
2099 } | 2087 } |
2100 } | 2088 } |
OLD | NEW |