Skip to content

Commit

Permalink
net/ compile fixes for for chromeos use_openssl=1 build.
Browse files Browse the repository at this point in the history
BUG=338888

Review URL: https://codereview.chromium.org/201673006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262925 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
mattm@chromium.org committed Apr 10, 2014
1 parent 28733ce commit bd952f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/base/keygen_handler_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class KeygenHandlerTest : public ::testing::Test {
virtual ~KeygenHandlerTest() {}

virtual void SetUp() {
#if defined(OS_CHROMEOS)
crypto::OpenPersistentNSSDB();
#if defined(OS_CHROMEOS) && defined(USE_NSS)
crypto::OpenPersistentNSSDB();
#endif
}
};
Expand Down
9 changes: 9 additions & 0 deletions net/net.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,10 @@
'cert/jwk_serializer_nss.cc',
'cert/nss_cert_database.cc',
'cert/nss_cert_database.h',
'cert/nss_cert_database_chromeos.cc',
'cert/nss_cert_database_chromeos.h',
'cert/nss_profile_filter_chromeos.cc',
'cert/nss_profile_filter_chromeos.h',
'cert/scoped_nss_types.h',
'cert/test_root_certs_nss.cc',
'cert/x509_certificate_nss.cc',
Expand Down Expand Up @@ -1519,6 +1523,8 @@
'cert/cert_verify_proc_nss.h',
'ssl/client_cert_store_nss.cc',
'ssl/client_cert_store_nss.h',
'ssl/client_cert_store_chromeos.cc',
'ssl/client_cert_store_chromeos.h',
],
}],
[ 'enable_websockets != 1', {
Expand Down Expand Up @@ -2199,6 +2205,7 @@
[ 'use_nss != 1', {
'sources!': [
'ssl/client_cert_store_nss_unittest.cc',
'ssl/client_cert_store_chromeos_unittest.cc',
],
}],
[ 'use_openssl == 1', {
Expand Down Expand Up @@ -2263,6 +2270,8 @@
'cert/ct_objects_extractor_unittest.cc',
'cert/multi_log_ct_verifier_unittest.cc',
'cert/nss_cert_database_unittest.cc',
'cert/nss_cert_database_chromeos_unittest.cc',
'cert/nss_profile_filter_chromeos_unittest.cc',
'cert/x509_util_nss_unittest.cc',
'quic/test_tools/crypto_test_utils_nss.cc',
],
Expand Down

0 comments on commit bd952f3

Please sign in to comment.