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

Unified Diff: testing/utils/path_service.cpp

Issue 2541503002: [android] Make pdfium_unittests work on Android. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « testing/test.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « testing/test.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698