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/features.gni") |
5 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
6 import("//testing/test.gni") | 7 import("//testing/test.gni") |
7 | 8 |
8 if (is_nacl) { | 9 if (is_nacl) { |
9 component("crypto") { | 10 component("crypto") { |
10 output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto. | 11 output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto. |
11 sources = [ | 12 sources = [ |
12 "random.cc", | 13 "random.cc", |
13 "random.h", | 14 "random.h", |
14 ] | 15 ] |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 "//base", | 316 "//base", |
316 ] | 317 ] |
317 | 318 |
318 if (!use_nss_certs) { | 319 if (!use_nss_certs) { |
319 sources -= [ | 320 sources -= [ |
320 "scoped_test_nss_db.cc", | 321 "scoped_test_nss_db.cc", |
321 "scoped_test_nss_db.h", | 322 "scoped_test_nss_db.h", |
322 ] | 323 ] |
323 } | 324 } |
324 | 325 |
325 if (!is_chromeos) { | 326 if (!use_cros_fe) { |
326 sources -= [ | 327 sources -= [ |
327 "scoped_test_nss_chromeos_user.cc", | 328 "scoped_test_nss_chromeos_user.cc", |
328 "scoped_test_nss_chromeos_user.h", | 329 "scoped_test_nss_chromeos_user.h", |
329 "scoped_test_system_nss_key_slot.cc", | 330 "scoped_test_system_nss_key_slot.cc", |
330 "scoped_test_system_nss_key_slot.h", | 331 "scoped_test_system_nss_key_slot.h", |
331 ] | 332 ] |
332 } | 333 } |
333 } | 334 } |
334 | 335 |
335 config("platform_config") { | 336 config("platform_config") { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 375 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
375 } else { | 376 } else { |
376 # Non-Linux platforms use the hermetic NSS from the tree. | 377 # Non-Linux platforms use the hermetic NSS from the tree. |
377 public_deps = [ | 378 public_deps = [ |
378 "//third_party/nss:nspr", | 379 "//third_party/nss:nspr", |
379 "//third_party/nss:nss", | 380 "//third_party/nss:nss", |
380 ] | 381 ] |
381 } | 382 } |
382 } | 383 } |
383 } | 384 } |
OLD | NEW |