diff --git a/test/testsupport/file_utils_override.cc b/test/testsupport/file_utils_override.cc index 09806913a5..43391556b5 100644 --- a/test/testsupport/file_utils_override.cc +++ b/test/testsupport/file_utils_override.cc @@ -128,7 +128,7 @@ std::string OutputPath() { std::string WorkingDir() { #if defined(WEBRTC_ANDROID) return kAndroidChromiumTestsRoot; -#endif +#else char path_buffer[FILENAME_MAX]; if (!GET_CURRENT_DIR(path_buffer, sizeof(path_buffer))) { fprintf(stderr, "Cannot get current directory!\n"); @@ -136,6 +136,7 @@ std::string WorkingDir() { } else { return std::string(path_buffer); } +#endif } std::string ResourcePath(const std::string& name,