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