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 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1447 sources -= [ | 1437 sources -= [ |
1448 "dns/mdns_cache_unittest.cc", | 1438 "dns/mdns_cache_unittest.cc", |
1449 "dns/mdns_client_unittest.cc", | 1439 "dns/mdns_client_unittest.cc", |
1450 ] | 1440 ] |
1451 } | 1441 } |
1452 | 1442 |
1453 if (is_ios) { | 1443 if (is_ios) { |
1454 sources -= [ | 1444 sources -= [ |
1455 # TODO(droger): The following tests are disabled because the | 1445 # TODO(droger): The following tests are disabled because the |
1456 # implementation is missing or incomplete. | 1446 # implementation is missing or incomplete. |
1457 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. | |
1458 "base/keygen_handler_unittest.cc", | |
1459 "disk_cache/backend_unittest.cc", | 1447 "disk_cache/backend_unittest.cc", |
1460 "disk_cache/blockfile/block_files_unittest.cc", | 1448 "disk_cache/blockfile/block_files_unittest.cc", |
1461 | 1449 |
1462 # Need to read input data files. | 1450 # Need to read input data files. |
1463 "socket/ssl_server_socket_unittest.cc", | 1451 "socket/ssl_server_socket_unittest.cc", |
1464 "spdy/fuzzing/hpack_fuzz_util_test.cc", | 1452 "spdy/fuzzing/hpack_fuzz_util_test.cc", |
1465 | 1453 |
1466 # Need TestServer. | 1454 # Need TestServer. |
1467 "cert_net/cert_net_fetcher_impl_unittest.cc", | 1455 "cert_net/cert_net_fetcher_impl_unittest.cc", |
1468 "proxy/proxy_script_fetcher_impl_unittest.cc", | 1456 "proxy/proxy_script_fetcher_impl_unittest.cc", |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2066 "http/http_security_headers_hpkp_report_only_fuzzer.cc", | 2054 "http/http_security_headers_hpkp_report_only_fuzzer.cc", |
2067 ] | 2055 ] |
2068 deps = [ | 2056 deps = [ |
2069 ":net_fuzzer_test_support", | 2057 ":net_fuzzer_test_support", |
2070 "//base", | 2058 "//base", |
2071 "//net", | 2059 "//net", |
2072 "//url", | 2060 "//url", |
2073 ] | 2061 ] |
2074 dict = "data/fuzzer_dictionaries/net_http_security_headers_fuzzer.dict" | 2062 dict = "data/fuzzer_dictionaries/net_http_security_headers_fuzzer.dict" |
2075 } | 2063 } |
OLD | NEW |