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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 "//base", | 105 "//base", |
106 "//base/third_party/dynamic_annotations", | 106 "//base/third_party/dynamic_annotations", |
107 ] | 107 ] |
108 | 108 |
109 if (!is_mac && !is_ios) { | 109 if (!is_mac && !is_ios) { |
110 sources -= [ | 110 sources -= [ |
111 "apple_keychain.h", | 111 "apple_keychain.h", |
112 "mock_apple_keychain.cc", | 112 "mock_apple_keychain.cc", |
113 "mock_apple_keychain.h", | 113 "mock_apple_keychain.h", |
114 ] | 114 ] |
| 115 } else { |
| 116 libs = [ "Security.framework" ] |
115 } | 117 } |
116 | 118 |
117 if (!is_mac) { | 119 if (!is_mac) { |
118 sources -= [ | 120 sources -= [ |
119 "cssm_init.cc", | 121 "cssm_init.cc", |
120 "cssm_init.h", | 122 "cssm_init.h", |
121 "mac_security_services_lock.cc", | 123 "mac_security_services_lock.cc", |
122 "mac_security_services_lock.h", | 124 "mac_security_services_lock.h", |
123 ] | 125 ] |
124 } | 126 } |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 354 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
353 } else { | 355 } else { |
354 # Non-Linux platforms use the hermetic NSS from the tree. | 356 # Non-Linux platforms use the hermetic NSS from the tree. |
355 public_deps += [ | 357 public_deps += [ |
356 "//third_party/nss:nspr", | 358 "//third_party/nss:nspr", |
357 "//third_party/nss:nss", | 359 "//third_party/nss:nss", |
358 ] | 360 ] |
359 } | 361 } |
360 } | 362 } |
361 } | 363 } |
OLD | NEW |