| Index: testing/android/native_test/native_test_launcher.cc
|
| diff --git a/testing/android/native_test/native_test_launcher.cc b/testing/android/native_test/native_test_launcher.cc
|
| index 0f14ff9f52c8364f6d2d962da26ff0ffa86cba1b..38040e90747a1e1a6caf60e31158637221183963 100644
|
| --- a/testing/android/native_test/native_test_launcher.cc
|
| +++ b/testing/android/native_test/native_test_launcher.cc
|
| @@ -64,21 +64,21 @@ void AndroidLog(int priority, const char* format, ...) {
|
|
|
| } // namespace
|
|
|
| +static void InitBasicJNI(JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj) {
|
| + base::android::RegisterJni(env);
|
| +}
|
| +
|
| static void RunTests(JNIEnv* env,
|
| const JavaParamRef<jobject>& obj,
|
| const JavaParamRef<jstring>& jcommand_line_flags,
|
| const JavaParamRef<jstring>& jcommand_line_file_path,
|
| const JavaParamRef<jstring>& jstdout_file_path,
|
| - jboolean jstdout_fifo,
|
| - const JavaParamRef<jobject>& app_context) {
|
| + jboolean jstdout_fifo) {
|
| // Command line initialized basically, will be fully initialized later.
|
| static const char* const kInitialArgv[] = { "ChromeTestActivity" };
|
| base::CommandLine::Init(arraysize(kInitialArgv), kInitialArgv);
|
|
|
| - // Set the application context in base.
|
| - base::android::InitApplicationContext(env, app_context);
|
| - base::android::RegisterJni(env);
|
| -
|
| std::vector<std::string> args;
|
|
|
| const std::string command_line_file_path(
|
|
|