| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 ":platform", | 171 ":platform", |
| 172 ":test_support", | 172 ":test_support", |
| 173 "//base", | 173 "//base", |
| 174 "//base/test:run_all_unittests", | 174 "//base/test:run_all_unittests", |
| 175 "//base/test:test_support", | 175 "//base/test:test_support", |
| 176 "//testing/gmock", | 176 "//testing/gmock", |
| 177 "//testing/gtest", | 177 "//testing/gtest", |
| 178 ] | 178 ] |
| 179 } | 179 } |
| 180 | 180 |
| 181 test("crypto_perftests") { |
| 182 sources = [ |
| 183 "sha1_perftest.cc", |
| 184 ] |
| 185 |
| 186 deps = [ |
| 187 ":crypto", |
| 188 ":platform", |
| 189 ":test_support", |
| 190 "//base", |
| 191 "//base/test:run_all_unittests", |
| 192 "//base/test:test_support", |
| 193 "//testing/gmock", |
| 194 "//testing/gtest", |
| 195 "//testing/perf", |
| 196 ] |
| 197 } |
| 198 |
| 181 source_set("test_support") { | 199 source_set("test_support") { |
| 182 sources = [ | 200 sources = [ |
| 183 "scoped_test_nss_chromeos_user.cc", | 201 "scoped_test_nss_chromeos_user.cc", |
| 184 "scoped_test_nss_chromeos_user.h", | 202 "scoped_test_nss_chromeos_user.h", |
| 185 "scoped_test_nss_db.cc", | 203 "scoped_test_nss_db.cc", |
| 186 "scoped_test_nss_db.h", | 204 "scoped_test_nss_db.h", |
| 187 "scoped_test_system_nss_key_slot.cc", | 205 "scoped_test_system_nss_key_slot.cc", |
| 188 "scoped_test_system_nss_key_slot.h", | 206 "scoped_test_system_nss_key_slot.h", |
| 189 ] | 207 ] |
| 190 deps = [ | 208 deps = [ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 "//third_party/boringssl", | 244 "//third_party/boringssl", |
| 227 ] | 245 ] |
| 228 | 246 |
| 229 # Link in NSS if it is used for the platform certificate library | 247 # Link in NSS if it is used for the platform certificate library |
| 230 # (use_nss_certs). | 248 # (use_nss_certs). |
| 231 if (use_nss_certs) { | 249 if (use_nss_certs) { |
| 232 public_configs = [ ":platform_config" ] | 250 public_configs = [ ":platform_config" ] |
| 233 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 251 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
| 234 } | 252 } |
| 235 } | 253 } |
| OLD | NEW |