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

Side by Side Diff: crypto/run_all_unittests.cc

Issue 10830183: Built crypto and crypto_unittests for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address code review: Add comment. Created 8 years, 4 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 | « crypto/rsa_private_key.h ('k') | net/net.gyp » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "base/test/main_hook.h"
5 #include "base/test/test_suite.h" 6 #include "base/test/test_suite.h"
6 #include "crypto/nss_util.h" 7 #include "crypto/nss_util.h"
7 8
8 int main(int argc, char** argv) { 9 int main(int argc, char** argv) {
10 MainHook hook(main, argc, argv);
11
9 #if defined(USE_NSS) 12 #if defined(USE_NSS)
10 // This is most likely not needed, but it basically replaces a similar call 13 // This is most likely not needed, but it basically replaces a similar call
11 // that was performed on test_support_base. 14 // that was performed on test_support_base.
12 // TODO(rvargas) Bug 79359: remove this. 15 // TODO(rvargas) Bug 79359: remove this.
13 crypto::EnsureNSSInit(); 16 crypto::EnsureNSSInit();
14 #endif // defined(USE_NSS) 17 #endif // defined(USE_NSS)
15 18
16 return base::TestSuite(argc, argv).Run(); 19 return base::TestSuite(argc, argv).Run();
17 } 20 }
OLDNEW
« no previous file with comments | « crypto/rsa_private_key.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698