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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
79 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 79 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
80 | 80 |
81 deps = [ | 81 deps = [ |
82 ":platform", | 82 ":platform", |
83 "//base", | 83 "//base", |
84 "//base/third_party/dynamic_annotations", | 84 "//base/third_party/dynamic_annotations", |
85 ] | 85 ] |
86 | 86 |
| 87 public_deps = [ |
| 88 "//third_party/boringssl", |
| 89 ] |
| 90 |
87 if (!is_mac && !is_ios) { | 91 if (!is_mac && !is_ios) { |
88 sources -= [ | 92 sources -= [ |
89 "apple_keychain.h", | 93 "apple_keychain.h", |
90 "mock_apple_keychain.cc", | 94 "mock_apple_keychain.cc", |
91 "mock_apple_keychain.h", | 95 "mock_apple_keychain.h", |
92 ] | 96 ] |
93 } else { | 97 } else { |
94 libs = [ | 98 libs = [ |
95 "CoreFoundation.framework", | 99 "CoreFoundation.framework", |
96 "Security.framework", | 100 "Security.framework", |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 "//third_party/boringssl", | 223 "//third_party/boringssl", |
220 ] | 224 ] |
221 | 225 |
222 # 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 |
223 # (use_nss_certs). | 227 # (use_nss_certs). |
224 if (use_nss_certs) { | 228 if (use_nss_certs) { |
225 public_configs = [ ":platform_config" ] | 229 public_configs = [ ":platform_config" ] |
226 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 230 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
227 } | 231 } |
228 } | 232 } |
OLD | NEW |