Index: testing/utils/path_service.cpp |
diff --git a/testing/utils/path_service.cpp b/testing/utils/path_service.cpp |
index a67a7789531d391b684a18a8db07d7db4cbedc7d..1030c2bb1766de0cc2a356291218ab0c472d8d44 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; |
} |