| 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 a9475d1ae1bdcb87dffc6516491b62734ee6c15b..6473a35f8249409124b69dcbe62c4844d8f6c07f 100644
|
| --- a/testing/android/native_test/native_test_launcher.cc
|
| +++ b/testing/android/native_test/native_test_launcher.cc
|
| @@ -98,8 +98,8 @@ static void RunTests(JNIEnv* env,
|
| // Fully initialize command line with arguments.
|
| base::CommandLine::ForCurrentProcess()->AppendArguments(
|
| base::CommandLine(argc, &argv[0]), false);
|
| - const base::CommandLine& command_line =
|
| - *base::CommandLine::ForCurrentProcess();
|
| + //const base::CommandLine& command_line =
|
| + //*base::CommandLine::ForCurrentProcess();
|
|
|
| base::FilePath stdout_file_path(
|
| base::android::ConvertJavaStringToUTF8(env, jstdout_file_path));
|
| @@ -121,12 +121,12 @@ static void RunTests(JNIEnv* env,
|
| }
|
| dup2(STDOUT_FILENO, STDERR_FILENO);
|
|
|
| - if (command_line.HasSwitch(switches::kWaitForDebugger)) {
|
| - AndroidLog(ANDROID_LOG_VERBOSE,
|
| - "Native test waiting for GDB because flag %s was supplied",
|
| - switches::kWaitForDebugger);
|
| - base::debug::WaitForDebugger(24 * 60 * 60, true);
|
| - }
|
| + //if (command_line.HasSwitch(switches::kWaitForDebugger)) {
|
| + //AndroidLog(ANDROID_LOG_VERBOSE,
|
| + //"Native test waiting for GDB because flag %s was supplied",
|
| + //switches::kWaitForDebugger);
|
| + //base::debug::WaitForDebugger(24 * 60 * 60, true);
|
| + //}
|
|
|
| base::FilePath test_data_dir(
|
| base::android::ConvertJavaStringToUTF8(env, jtest_data_dir));
|
|
|