| 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("//testing/test.gni") |    6 import("//testing/test.gni") | 
|    7  |    7  | 
|    8 component("crypto") { |    8 component("crypto") { | 
|    9   output_name = "crcrypto"  # Avoid colliding with OpenSSL's libcrypto. |    9   output_name = "crcrypto"  # Avoid colliding with OpenSSL's libcrypto. | 
|   10   sources = [ |   10   sources = [ | 
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   84     "//base/third_party/dynamic_annotations", |   84     "//base/third_party/dynamic_annotations", | 
|   85   ] |   85   ] | 
|   86  |   86  | 
|   87   if (!is_mac && !is_ios) { |   87   if (!is_mac && !is_ios) { | 
|   88     sources -= [ |   88     sources -= [ | 
|   89       "apple_keychain.h", |   89       "apple_keychain.h", | 
|   90       "mock_apple_keychain.cc", |   90       "mock_apple_keychain.cc", | 
|   91       "mock_apple_keychain.h", |   91       "mock_apple_keychain.h", | 
|   92     ] |   92     ] | 
|   93   } else { |   93   } else { | 
|   94     libs = [ "Security.framework" ] |   94     libs = [ | 
 |   95       "CoreFoundation.framework", | 
 |   96       "Security.framework", | 
 |   97     ] | 
|   95   } |   98   } | 
|   96  |   99  | 
|   97   if (!is_mac) { |  100   if (!is_mac) { | 
|   98     sources -= [ |  101     sources -= [ | 
|   99       "cssm_init.cc", |  102       "cssm_init.cc", | 
|  100       "cssm_init.h", |  103       "cssm_init.h", | 
|  101       "mac_security_services_lock.cc", |  104       "mac_security_services_lock.cc", | 
|  102       "mac_security_services_lock.h", |  105       "mac_security_services_lock.h", | 
|  103     ] |  106     ] | 
|  104   } |  107   } | 
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  220     "//third_party/boringssl", |  223     "//third_party/boringssl", | 
|  221   ] |  224   ] | 
|  222  |  225  | 
|  223   # Link in NSS if it is used for the platform certificate library |  226   # Link in NSS if it is used for the platform certificate library | 
|  224   # (use_nss_certs). |  227   # (use_nss_certs). | 
|  225   if (use_nss_certs) { |  228   if (use_nss_certs) { | 
|  226     public_configs = [ ":platform_config" ] |  229     public_configs = [ ":platform_config" ] | 
|  227     public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |  230     public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 
|  228   } |  231   } | 
|  229 } |  232 } | 
| OLD | NEW |