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

Unified Diff: content/test/run_all_unittests.cc

Issue 12047068: Add apk for running content_browsertests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/test/run_all_unittests.cc
diff --git a/content/test/run_all_unittests.cc b/content/test/run_all_unittests.cc
index 58de889b765ddf1d7a207295c0be3811251eb2a5..695cebe9dc7a151f17abec3839408d9a680cbdb5 100644
--- a/content/test/run_all_unittests.cc
+++ b/content/test/run_all_unittests.cc
@@ -5,25 +5,7 @@
#include "content/test/content_test_suite.h"
#include "content/public/test/unittest_test_suite.h"
-#if defined(OS_ANDROID)
-#include "base/android/jni_android.h"
-#include "content/browser/android/browser_jni_registrar.h"
-#include "content/common/android/common_jni_registrar.h"
-#include "net/android/net_jni_registrar.h"
-#include "ui/android/ui_jni_registrar.h"
-#endif
-
int main(int argc, char** argv) {
-
-#if defined(OS_ANDROID)
- // Register JNI bindings for android.
- JNIEnv* env = base::android::AttachCurrentThread();
- content::android::RegisterCommonJni(env);
- content::android::RegisterBrowserJni(env);
- net::android::RegisterJni(env);
- ui::android::RegisterJni(env);
-#endif
-
return content::UnitTestTestSuite(
new content::ContentTestSuite(argc, argv)).Run();
}

Powered by Google App Engine
This is Rietveld 408576698