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/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 "ocsp/nss_ocsp.h", | 274 "ocsp/nss_ocsp.h", |
275 "third_party/mozilla_security_manager/nsKeygenHandler.cpp", | 275 "third_party/mozilla_security_manager/nsKeygenHandler.cpp", |
276 "third_party/mozilla_security_manager/nsKeygenHandler.h", | 276 "third_party/mozilla_security_manager/nsKeygenHandler.h", |
277 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", | 277 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", |
278 "third_party/mozilla_security_manager/nsNSSCertificateDB.h", | 278 "third_party/mozilla_security_manager/nsNSSCertificateDB.h", |
279 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", | 279 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", |
280 "third_party/mozilla_security_manager/nsPKCS12Blob.h", | 280 "third_party/mozilla_security_manager/nsPKCS12Blob.h", |
281 ] | 281 ] |
282 } | 282 } |
283 | 283 |
284 if (!use_nss) { | 284 if (use_openssl) { |
285 sources -= [ | 285 sources -= [ |
286 "cert/cert_verify_proc_nss.cc", | 286 "cert/cert_verify_proc_nss.cc", |
287 "cert/cert_verify_proc_nss.h", | 287 "cert/cert_verify_proc_nss.h", |
288 "ssl/client_cert_store_nss.cc", | 288 "ssl/client_cert_store_nss.cc", |
289 "ssl/client_cert_store_nss.h", | 289 "ssl/client_cert_store_nss.h", |
290 ] | 290 ] |
291 if (is_chromeos) { | 291 if (is_chromeos) { |
292 # These were already removed on non-ChromeOS. | 292 # These were already removed on non-ChromeOS. |
293 sources -= [ | 293 sources -= [ |
294 "ssl/client_cert_store_chromeos.cc", | 294 "ssl/client_cert_store_chromeos.cc", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 "base/winsock_init.cc", | 389 "base/winsock_init.cc", |
390 "base/winsock_init.h", | 390 "base/winsock_init.h", |
391 "base/winsock_util.cc", | 391 "base/winsock_util.cc", |
392 "base/winsock_util.h", | 392 "base/winsock_util.h", |
393 "proxy/proxy_resolver_winhttp.cc", | 393 "proxy/proxy_resolver_winhttp.cc", |
394 "proxy/proxy_resolver_winhttp.h", | 394 "proxy/proxy_resolver_winhttp.h", |
395 ] | 395 ] |
396 } | 396 } |
397 | 397 |
398 if (is_mac) { | 398 if (is_mac) { |
399 sources -= [ | |
400 "ssl/client_cert_store_nss.cc", | |
401 "ssl/client_cert_store_nss.h", | |
402 ] | |
403 deps += [ | 399 deps += [ |
404 "//third_party/nss:nspr", | 400 "//third_party/nss:nspr", |
405 "//third_party/nss", | 401 "//third_party/nss", |
406 ] | 402 ] |
407 libs = [ | 403 libs = [ |
408 "$SDKROOT/System/Library/Frameworks/Foundation.framework", | 404 "Foundation.framework", |
409 "$SDKROOT/System/Library/Frameworks/Security.framework", | 405 "Security.framework", |
410 "$SDKROOT/System/Library/Frameworks/SystemConfiguration.framework", | 406 "SystemConfiguration.framework", |
411 "$SDKROOT/usr/lib/libresolv.dylib", | 407 "resolv", |
412 ] | 408 ] |
413 } | 409 } |
414 | 410 |
415 if (is_ios) { | 411 if (is_ios) { |
416 sources -= [ "disk_cache/blockfile/file_posix.cc" ] | 412 sources -= [ "disk_cache/blockfile/file_posix.cc" ] |
417 deps += [ | 413 deps += [ |
418 "//third_party/nss", | 414 "//third_party/nss", |
419 ] | 415 ] |
420 libs = [ | 416 libs = [ |
421 "$SDKROOT/System/Library/Frameworks/CFNetwork.framework", | 417 "CFNetwork.framework", |
422 "$SDKROOT/System/Library/Frameworks/MobileCoreServices.framework", | 418 "MobileCoreServices.framework", |
423 "$SDKROOT/System/Library/Frameworks/Security.framework", | 419 "Security.framework", |
424 "$SDKROOT/System/Library/Frameworks/SystemConfiguration.framework", | 420 "SystemConfiguration.framework", |
425 "$SDKROOT/usr/lib/libresolv.dylib", | 421 "resolv", |
426 ] | 422 ] |
427 } | 423 } |
428 | 424 |
429 if (is_android) { | 425 if (is_android) { |
430 if (!is_android_webview_build) { | 426 if (!is_android_webview_build) { |
431 sources -= [ | 427 sources -= [ |
432 "base/openssl_private_key_store_memory.cc", | 428 "base/openssl_private_key_store_memory.cc", |
433 "cert/cert_database_openssl.cc", | 429 "cert/cert_database_openssl.cc", |
434 "cert/cert_verify_proc_openssl.cc", | 430 "cert/cert_verify_proc_openssl.cc", |
435 "cert/test_root_certs_openssl.cc", | 431 "cert/test_root_certs_openssl.cc", |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 | 904 |
909 if (is_android || is_linux) { | 905 if (is_android || is_linux) { |
910 executable("disk_cache_memory_test") { | 906 executable("disk_cache_memory_test") { |
911 sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ] | 907 sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ] |
912 deps = [ | 908 deps = [ |
913 ":net", | 909 ":net", |
914 "//base", | 910 "//base", |
915 ] | 911 ] |
916 } | 912 } |
917 } | 913 } |
OLD | NEW |