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("ssl/flags.gni") | 5 import("ssl/flags.gni") |
6 | 6 |
7 crypto_minimal_sources = [ | 7 crypto_minimal_sources = [ |
8 "hmac.cc", | 8 "hmac.cc", |
9 "hmac.h", | 9 "hmac.h", |
10 "hmac_win.cc", | 10 "hmac_win.cc", |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 ] | 130 ] |
131 } | 131 } |
132 if (!is_win) { | 132 if (!is_win) { |
133 sources -= [ | 133 sources -= [ |
134 "capi_util.cc", | 134 "capi_util.cc", |
135 "capi_util.h", | 135 "capi_util.h", |
136 ] | 136 ] |
137 } | 137 } |
138 | 138 |
139 if (use_nss) { | 139 if (use_nss) { |
140 configs += "//third_party/nss:nss_linux_config" | 140 configs += [ "//third_party/nss:nss_linux_config" ] |
141 } else { | 141 } else { |
142 sources -= [ | 142 sources -= [ |
143 "ec_private_key_nss.cc", | 143 "ec_private_key_nss.cc", |
144 "ec_signature_creator_nss.cc", | 144 "ec_signature_creator_nss.cc", |
145 "encryptor_nss.cc", | 145 "encryptor_nss.cc", |
146 "hmac_nss.cc", | 146 "hmac_nss.cc", |
147 "nss_util.cc", | 147 "nss_util.cc", |
148 "nss_util.h", | 148 "nss_util.h", |
149 "rsa_private_key_nss.cc", | 149 "rsa_private_key_nss.cc", |
150 "secure_hash_default.cc", | 150 "secure_hash_default.cc", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 "//base/test:run_all_unittests", | 236 "//base/test:run_all_unittests", |
237 "//base/test:test_support_base", | 237 "//base/test:test_support_base", |
238 "//testing/gmock", | 238 "//testing/gmock", |
239 "//testing/gtest", | 239 "//testing/gtest", |
240 ] | 240 ] |
241 | 241 |
242 if (is_mac) { | 242 if (is_mac) { |
243 #deps += "//third_party/nss:nspr" | 243 #deps += "//third_party/nss:nspr" |
244 } | 244 } |
245 } | 245 } |
OLD | NEW |