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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 "//third_party/boringssl", | 251 "//third_party/boringssl", |
249 ] | 252 ] |
250 | 253 |
251 # Link in NSS if it is used for the platform certificate library | 254 # Link in NSS if it is used for the platform certificate library |
252 # (use_nss_certs). | 255 # (use_nss_certs). |
253 if (use_nss_certs) { | 256 if (use_nss_certs) { |
254 public_configs = [ ":platform_config" ] | 257 public_configs = [ ":platform_config" ] |
255 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 258 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
256 } | 259 } |
257 } | 260 } |
OLD | NEW |