Index: webrtc/test/testsupport/fileutils.h |
diff --git a/webrtc/test/testsupport/fileutils.h b/webrtc/test/testsupport/fileutils.h |
index 78789fa870908f52b86c0fcc2269cef13b87cfed..fbcdeda4e45f6e9960a2faf4974738debbe46220 100644 |
--- a/webrtc/test/testsupport/fileutils.h |
+++ b/webrtc/test/testsupport/fileutils.h |
@@ -75,10 +75,10 @@ extern const char* kCannotFindProjectRootDir; |
// Finds the root dir of the project, to be able to set correct paths to |
// resource files used by tests. |
-// The implementation is simple: it just looks for the file defined by |
-// kProjectRootFileName, starting in the current directory (the working |
-// directory) and then steps upward until it is found (or it is at the root of |
-// the file system). |
+// For desktop, we assume that the project root is two levels above (i.e. the |
+// current working directory + /../../) |
+// For android, it is assumed to be /sdcard/chromium_tests_root/ |
+// For iOS, this calls IOSOutputPath() in iosfileutils.mm |
// If the current working directory is above the project root dir, it will not |
// be found. |
// |