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

Side by Side Diff: crypto/BUILD.gn

Issue 1653003006: Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « content/test/BUILD.gn ('k') | device/BUILD.gn » ('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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 deps = [ 220 deps = [
221 "//base", 221 "//base",
222 "//base/third_party/dynamic_annotations", 222 "//base/third_party/dynamic_annotations",
223 ] 223 ]
224 224
225 defines = [ "CRYPTO_IMPLEMENTATION" ] 225 defines = [ "CRYPTO_IMPLEMENTATION" ]
226 } 226 }
227 } 227 }
228 228
229 # TODO(GYP): Delete this after we've converted everything to GN.
230 # The _run targets exist only for compatibility w/ GYP.
231 group("crypto_unittests_run") {
232 testonly = true
233 deps = [
234 ":crypto_unittests",
235 ]
236 }
237
238 test("crypto_unittests") { 229 test("crypto_unittests") {
239 sources = [ 230 sources = [
240 "aead_openssl_unittest.cc", 231 "aead_openssl_unittest.cc",
241 "curve25519_unittest.cc", 232 "curve25519_unittest.cc",
242 "ec_private_key_unittest.cc", 233 "ec_private_key_unittest.cc",
243 "ec_signature_creator_unittest.cc", 234 "ec_signature_creator_unittest.cc",
244 "encryptor_unittest.cc", 235 "encryptor_unittest.cc",
245 "hkdf_unittest.cc", 236 "hkdf_unittest.cc",
246 "hmac_unittest.cc", 237 "hmac_unittest.cc",
247 "nss_key_util_unittest.cc", 238 "nss_key_util_unittest.cc",
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] 350 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ]
360 } else { 351 } else {
361 # Non-Linux platforms use the hermetic NSS from the tree. 352 # Non-Linux platforms use the hermetic NSS from the tree.
362 public_deps += [ 353 public_deps += [
363 "//third_party/nss:nspr", 354 "//third_party/nss:nspr",
364 "//third_party/nss:nss", 355 "//third_party/nss:nss",
365 ] 356 ]
366 } 357 }
367 } 358 }
368 } 359 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698