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

Unified Diff: content/shell/common/layout_test/layout_test_switches.cc

Issue 2540603004: [Android] Redirect std{in,out,err} to sockets for layout tests. (Closed)
Patch Set: rebase Created 3 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/shell/common/layout_test/layout_test_switches.cc
diff --git a/content/shell/common/layout_test/layout_test_switches.cc b/content/shell/common/layout_test/layout_test_switches.cc
index 2ef18ff348df1e1029b43280e73610ef5769af75..33d22938d07d97ca7541d315782938eecd4ec152 100644
--- a/content/shell/common/layout_test/layout_test_switches.cc
+++ b/content/shell/common/layout_test/layout_test_switches.cc
@@ -12,6 +12,17 @@ namespace switches {
// Allow access to external pages during layout tests.
const char kAllowExternalPages[] = "allow-external-pages";
+#if defined(OS_ANDROID)
+// Redirect stderr to the given port. Only supported on Android.
+const char kAndroidStderrPort[] = "android-stderr-port";
+
+// Redirect stdin to the given port. Only supported on Android.
+const char kAndroidStdinPort[] = "android-stdin-port";
+
+// Redirect stdout to the given port. Only supported on Android.
+const char kAndroidStdoutPort[] = "android-stdout-port";
+#endif // defined(OS_ANDROID)
+
// Check whether all system dependencies for running layout tests are met.
const char kCheckLayoutTestSysDeps[] = "check-layout-test-sys-deps";
« no previous file with comments | « content/shell/common/layout_test/layout_test_switches.h ('k') | testing/android/native_test/native_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698