summaryrefslogtreecommitdiff
path: root/testing/utils/path_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/utils/path_service.cpp')
-rw-r--r--testing/utils/path_service.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/utils/path_service.cpp b/testing/utils/path_service.cpp
index a67a778953..1030c2bb17 100644
--- a/testing/utils/path_service.cpp
+++ b/testing/utils/path_service.cpp
@@ -73,7 +73,11 @@ bool PathService::GetSourceDir(std::string* path) {
path->push_back(PATH_SEPARATOR);
path->append("..");
path->push_back(PATH_SEPARATOR);
+#if defined(ANDROID)
+ path->append("chromium_tests_root");
+#else // Non-Android
path->append("..");
+#endif // defined(ANDROID)
return true;
}