Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: crypto/BUILD.gn

Issue 2081553003: crypto: Add peformance test for SHA1 to compare against base Base URL: https://chromium.googlesource.com/chromium/src.git@cryto-sha1
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | crypto/crypto.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | crypto/crypto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698