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

Side by Side Diff: net/BUILD.gn

Issue 2577683002: Add unit tests for NSS-backed SSLPrivateKeys. (Closed)
Patch Set: rebase atop asan fix Created 4 years 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 | net/net.gypi » ('j') | net/ssl/ssl_platform_key_chromecast.cc » ('J')
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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 if (v8_use_external_startup_data) { 1337 if (v8_use_external_startup_data) {
1338 deps += [ "//gin" ] 1338 deps += [ "//gin" ]
1339 } 1339 }
1340 1340
1341 if (!use_nss_certs) { 1341 if (!use_nss_certs) {
1342 sources -= [ 1342 sources -= [
1343 "cert/internal/cert_issuer_source_nss_unittest.cc", 1343 "cert/internal/cert_issuer_source_nss_unittest.cc",
1344 "cert/internal/trust_store_nss_unittest.cc", 1344 "cert/internal/trust_store_nss_unittest.cc",
1345 "cert/nss_cert_database_unittest.cc", 1345 "cert/nss_cert_database_unittest.cc",
1346 "ssl/client_cert_store_nss_unittest.cc", 1346 "ssl/client_cert_store_nss_unittest.cc",
1347 "ssl/ssl_platform_key_nss_unittest.cc",
1347 ] 1348 ]
1348 if (is_chromeos) { # Already removed for all non-ChromeOS builds. 1349 if (is_chromeos) { # Already removed for all non-ChromeOS builds.
1349 sources -= [ 1350 sources -= [
1350 "cert/nss_cert_database_chromeos_unittest.cc", 1351 "cert/nss_cert_database_chromeos_unittest.cc",
1351 "cert/nss_profile_filter_chromeos_unittest.cc", 1352 "cert/nss_profile_filter_chromeos_unittest.cc",
1352 ] 1353 ]
1353 } 1354 }
1354 } 1355 }
1355 1356
1356 if (use_kerberos) { 1357 if (use_kerberos) {
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 data += [ "$root_out_dir/net_unittests.exe.pdb" ] 1549 data += [ "$root_out_dir/net_unittests.exe.pdb" ]
1549 } else if (is_mac) { 1550 } else if (is_mac) {
1550 # TODO(crbug.com/330301): make this conditional on mac_strip_release. 1551 # TODO(crbug.com/330301): make this conditional on mac_strip_release.
1551 # data += [ "$root_out_dir/net_unittests.dSYM/" ] 1552 # data += [ "$root_out_dir/net_unittests.dSYM/" ]
1552 } 1553 }
1553 } 1554 }
1554 1555
1555 if (is_win) { 1556 if (is_win) {
1556 libs = [ "iphlpapi.lib" ] 1557 libs = [ "iphlpapi.lib" ]
1557 } 1558 }
1559
1560 if (is_chromecast && use_nss_certs) {
1561 sources += [ "ssl/ssl_platform_key_chromecast_unittest.cc" ]
1562 sources -= [ "ssl/ssl_platform_key_nss_unittest.cc" ]
1563 }
1558 } 1564 }
1559 1565
1560 # !is_android && !is_win && !is_mac 1566 # !is_android && !is_win && !is_mac
1561 if (!is_ios) { 1567 if (!is_ios) {
1562 # TODO(crbug.com/594965): this should be converted to "app" template and 1568 # TODO(crbug.com/594965): this should be converted to "app" template and
1563 # enabled on iOS too. 1569 # enabled on iOS too.
1564 executable("net_perftests") { 1570 executable("net_perftests") {
1565 testonly = true 1571 testonly = true
1566 sources = [ 1572 sources = [
1567 "base/mime_sniffer_perftest.cc", 1573 "base/mime_sniffer_perftest.cc",
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
2077 if (host_toolchain == current_toolchain) { 2083 if (host_toolchain == current_toolchain) {
2078 executable("domain_security_preload_generator") { 2084 executable("domain_security_preload_generator") {
2079 sources = gypi_values.net_domain_security_state_generator_sources 2085 sources = gypi_values.net_domain_security_state_generator_sources
2080 deps = [ 2086 deps = [
2081 "//base", 2087 "//base",
2082 "//crypto", 2088 "//crypto",
2083 "//third_party/boringssl", 2089 "//third_party/boringssl",
2084 ] 2090 ]
2085 } 2091 }
2086 } 2092 }
OLDNEW
« no previous file with comments | « no previous file | net/net.gypi » ('j') | net/ssl/ssl_platform_key_chromecast.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698