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

Unified Diff: ash/test/test_suite.cc

Issue 9316029: Include ui_strings in aura_shell_unittests to fix the build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove a comment Created 8 years, 11 months 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 | « ash/ash.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_suite.cc
diff --git a/ash/test/test_suite.cc b/ash/test/test_suite.cc
index 48e3f454608ee6dc0288da056f25561d366f9708..46e82c6583547a2fbb28b7cf15e8eb755f03e6eb 100644
--- a/ash/test/test_suite.cc
+++ b/ash/test/test_suite.cc
@@ -31,7 +31,12 @@ void AuraShellTestSuite::Initialize() {
#if defined(OS_MACOSX)
ash::test::OverrideFrameworkBundle();
-#endif
+#elif defined(OS_POSIX)
+ FilePath pak_dir;
+ PathService::Get(base::DIR_MODULE, &pak_dir);
+ pak_dir = pak_dir.AppendASCII("aura_shell_unittests_strings");
+ PathService::Override(ui::DIR_LOCALES, pak_dir);
+#endif // defined(OS_MACOSX)
tony 2012/02/03 02:17:05 This works, but it may be easier to generate the p
// Force unittests to run using en-US so if we test against string
// output, it'll pass regardless of the system language.
« no previous file with comments | « ash/ash.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698