summaryrefslogtreecommitdiffstats
path: root/ui/test
diff options
context:
space:
mode:
Diffstat (limited to 'ui/test')
-rw-r--r--ui/test/test_suite.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/test/test_suite.cc b/ui/test/test_suite.cc
index 6f1a239..04dc943 100644
--- a/ui/test/test_suite.cc
+++ b/ui/test/test_suite.cc
@@ -44,9 +44,13 @@ void UITestSuite::Initialize() {
base::mac::SetOverrideFrameworkBundlePath(path);
#elif defined(OS_POSIX)
FilePath pak_dir;
+#if defined(OS_ANDROID)
+ PathService::Get(ui::DIR_RESOURCE_PAKS_ANDROID, &pak_dir);
+#else
PathService::Get(base::DIR_MODULE, &pak_dir);
pak_dir = pak_dir.AppendASCII("ui_unittests_strings");
PathService::Override(ui::DIR_LOCALES, pak_dir);
+#endif // defined(OS_ANDROID)
#endif // defined(OS_MACOSX)
// Force unittests to run using en-US so if we test against string