summaryrefslogtreecommitdiffstats
path: root/crypto/run_all_unittests.cc
diff options
context:
space:
mode:
authormsarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 10:24:54 +0000
committermsarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 10:24:54 +0000
commit271428d65bc85c4d3989a6782c8b3747c89564f4 (patch)
tree932b1c376875ec1cf4b6775bb2619fdd9df01a63 /crypto/run_all_unittests.cc
parent9e56f798538a6c859ccb4d44bd014c552df951a4 (diff)
downloadchromium_src-271428d65bc85c4d3989a6782c8b3747c89564f4.zip
chromium_src-271428d65bc85c4d3989a6782c8b3747c89564f4.tar.gz
chromium_src-271428d65bc85c4d3989a6782c8b3747c89564f4.tar.bz2
Built crypto and crypto_unittests for iOS
Adds iOS support to crypto.gyp. Both targets now build, but the tests may not run correctly, and not all the crypto code is correct yet for iOS. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/10830183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/run_all_unittests.cc')
-rw-r--r--crypto/run_all_unittests.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/run_all_unittests.cc b/crypto/run_all_unittests.cc
index 9b6fc467..3d4cc479 100644
--- a/crypto/run_all_unittests.cc
+++ b/crypto/run_all_unittests.cc
@@ -1,11 +1,14 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/test/main_hook.h"
#include "base/test/test_suite.h"
#include "crypto/nss_util.h"
int main(int argc, char** argv) {
+ MainHook hook(main, argc, argv);
+
#if defined(USE_NSS)
// This is most likely not needed, but it basically replaces a similar call
// that was performed on test_support_base.