| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 sources -= [ | 133 sources -= [ |
| 134 "dns/address_sorter_posix.cc", | 134 "dns/address_sorter_posix.cc", |
| 135 "dns/address_sorter_posix.h", | 135 "dns/address_sorter_posix.h", |
| 136 "dns/dns_client.cc", | 136 "dns/dns_client.cc", |
| 137 ] | 137 ] |
| 138 } | 138 } |
| 139 | 139 |
| 140 if (!use_openssl_certs) { | 140 if (!use_openssl_certs) { |
| 141 sources -= [ | 141 sources -= [ |
| 142 "base/crypto_module_openssl.cc", | 142 "base/crypto_module_openssl.cc", |
| 143 "base/keygen_handler_openssl.cc", | |
| 144 "base/openssl_private_key_store.h", | |
| 145 "base/openssl_private_key_store_memory.cc", | |
| 146 "cert/cert_database_openssl.cc", | 143 "cert/cert_database_openssl.cc", |
| 147 "cert/cert_verify_proc_openssl.cc", | 144 "cert/cert_verify_proc_openssl.cc", |
| 148 "cert/cert_verify_proc_openssl.h", | 145 "cert/cert_verify_proc_openssl.h", |
| 149 "cert/test_root_certs_openssl.cc", | 146 "cert/test_root_certs_openssl.cc", |
| 150 "cert/x509_certificate_openssl.cc", | 147 "cert/x509_certificate_openssl.cc", |
| 151 "ssl/openssl_client_key_store.cc", | 148 "ssl/openssl_client_key_store.cc", |
| 152 "ssl/openssl_client_key_store.h", | 149 "ssl/openssl_client_key_store.h", |
| 153 ] | 150 ] |
| 154 if (is_android) { | |
| 155 sources -= [ "base/openssl_private_key_store_android.cc" ] | |
| 156 } | |
| 157 } else { | 151 } else { |
| 158 if (is_android) { | 152 if (is_android) { |
| 159 # Android doesn't use these even when using OpenSSL. | 153 # Android doesn't use these even when using OpenSSL. |
| 160 sources -= [ | 154 sources -= [ |
| 161 "base/openssl_private_key_store_memory.cc", | |
| 162 "cert/cert_database_openssl.cc", | 155 "cert/cert_database_openssl.cc", |
| 163 "cert/cert_verify_proc_openssl.cc", | 156 "cert/cert_verify_proc_openssl.cc", |
| 164 "cert/test_root_certs_openssl.cc", | 157 "cert/test_root_certs_openssl.cc", |
| 165 ] | 158 ] |
| 166 } | 159 } |
| 167 } | 160 } |
| 168 | 161 |
| 169 if (!use_kerberos || is_android) { | 162 if (!use_kerberos || is_android) { |
| 170 sources -= [ | 163 sources -= [ |
| 171 "http/http_auth_gssapi_posix.cc", | 164 "http/http_auth_gssapi_posix.cc", |
| 172 "http/http_auth_gssapi_posix.h", | 165 "http/http_auth_gssapi_posix.h", |
| 173 ] | 166 ] |
| 174 } | 167 } |
| 175 | 168 |
| 176 if (use_gio) { | 169 if (use_gio) { |
| 177 deps += [ "//build/linux/libgio" ] | 170 deps += [ "//build/linux/libgio" ] |
| 178 } | 171 } |
| 179 | 172 |
| 180 if (!use_nss_certs) { | 173 if (!use_nss_certs) { |
| 181 sources -= [ | 174 sources -= [ |
| 182 "base/crypto_module_nss.cc", | 175 "base/crypto_module_nss.cc", |
| 183 "base/keygen_handler_nss.cc", | |
| 184 "cert/cert_database_nss.cc", | 176 "cert/cert_database_nss.cc", |
| 185 "cert/internal/cert_issuer_source_nss.cc", | 177 "cert/internal/cert_issuer_source_nss.cc", |
| 186 "cert/internal/cert_issuer_source_nss.h", | 178 "cert/internal/cert_issuer_source_nss.h", |
| 187 "cert/internal/trust_store_nss.cc", | 179 "cert/internal/trust_store_nss.cc", |
| 188 "cert/internal/trust_store_nss.h", | 180 "cert/internal/trust_store_nss.h", |
| 189 "cert/nss_cert_database.cc", | 181 "cert/nss_cert_database.cc", |
| 190 "cert/nss_cert_database.h", | 182 "cert/nss_cert_database.h", |
| 191 "cert/x509_certificate_nss.cc", | 183 "cert/x509_certificate_nss.cc", |
| 192 "ssl/client_cert_store_nss.cc", | 184 "ssl/client_cert_store_nss.cc", |
| 193 "ssl/client_cert_store_nss.h", | 185 "ssl/client_cert_store_nss.h", |
| 194 "third_party/mozilla_security_manager/nsKeygenHandler.cpp", | |
| 195 "third_party/mozilla_security_manager/nsKeygenHandler.h", | |
| 196 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", | 186 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", |
| 197 "third_party/mozilla_security_manager/nsNSSCertificateDB.h", | 187 "third_party/mozilla_security_manager/nsNSSCertificateDB.h", |
| 198 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", | 188 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", |
| 199 "third_party/mozilla_security_manager/nsPKCS12Blob.h", | 189 "third_party/mozilla_security_manager/nsPKCS12Blob.h", |
| 200 ] | 190 ] |
| 201 if (is_chromeos) { | 191 if (is_chromeos) { |
| 202 # These were already removed on non-ChromeOS. | 192 # These were already removed on non-ChromeOS. |
| 203 sources -= [ | 193 sources -= [ |
| 204 "cert/nss_cert_database_chromeos.cc", | 194 "cert/nss_cert_database_chromeos.cc", |
| 205 "cert/nss_cert_database_chromeos.h", | 195 "cert/nss_cert_database_chromeos.h", |
| (...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1434 sources -= [ | 1424 sources -= [ |
| 1435 "dns/mdns_cache_unittest.cc", | 1425 "dns/mdns_cache_unittest.cc", |
| 1436 "dns/mdns_client_unittest.cc", | 1426 "dns/mdns_client_unittest.cc", |
| 1437 ] | 1427 ] |
| 1438 } | 1428 } |
| 1439 | 1429 |
| 1440 if (is_ios) { | 1430 if (is_ios) { |
| 1441 sources -= [ | 1431 sources -= [ |
| 1442 # TODO(droger): The following tests are disabled because the | 1432 # TODO(droger): The following tests are disabled because the |
| 1443 # implementation is missing or incomplete. | 1433 # implementation is missing or incomplete. |
| 1444 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. | |
| 1445 "base/keygen_handler_unittest.cc", | |
| 1446 "disk_cache/backend_unittest.cc", | 1434 "disk_cache/backend_unittest.cc", |
| 1447 "disk_cache/blockfile/block_files_unittest.cc", | 1435 "disk_cache/blockfile/block_files_unittest.cc", |
| 1448 | 1436 |
| 1449 # Need to read input data files. | 1437 # Need to read input data files. |
| 1450 "socket/ssl_server_socket_unittest.cc", | 1438 "socket/ssl_server_socket_unittest.cc", |
| 1451 "spdy/fuzzing/hpack_fuzz_util_test.cc", | 1439 "spdy/fuzzing/hpack_fuzz_util_test.cc", |
| 1452 | 1440 |
| 1453 # Need TestServer. | 1441 # Need TestServer. |
| 1454 "cert_net/cert_net_fetcher_impl_unittest.cc", | 1442 "cert_net/cert_net_fetcher_impl_unittest.cc", |
| 1455 "proxy/proxy_script_fetcher_impl_unittest.cc", | 1443 "proxy/proxy_script_fetcher_impl_unittest.cc", |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2053 "http/http_security_headers_hpkp_report_only_fuzzer.cc", | 2041 "http/http_security_headers_hpkp_report_only_fuzzer.cc", |
| 2054 ] | 2042 ] |
| 2055 deps = [ | 2043 deps = [ |
| 2056 ":net_fuzzer_test_support", | 2044 ":net_fuzzer_test_support", |
| 2057 "//base", | 2045 "//base", |
| 2058 "//net", | 2046 "//net", |
| 2059 "//url", | 2047 "//url", |
| 2060 ] | 2048 ] |
| 2061 dict = "data/fuzzer_dictionaries/net_http_security_headers_fuzzer.dict" | 2049 dict = "data/fuzzer_dictionaries/net_http_security_headers_fuzzer.dict" |
| 2062 } | 2050 } |
| OLD | NEW |