Chromium Code Reviews

Unified Diff: chrome/common/chrome_paths.cc

Issue 215025: Make chromeos build use shared object to load battery... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/common/chrome_paths.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_paths.cc
===================================================================
--- chrome/common/chrome_paths.cc (revision 26831)
+++ chrome/common/chrome_paths.cc (working copy)
@@ -172,6 +172,14 @@
#endif
}
break;
+#if defined(OS_CHROMEOS)
+ case chrome::FILE_CHROMEOS_API:
+ if (!PathService::Get(base::DIR_MODULE, &cur))
+ return false;
+ cur = cur.Append(FILE_PATH_LITERAL("chromeos"));
+ cur = cur.Append(FILE_PATH_LITERAL("libchromeos-power.so"));
+ break;
+#endif
// The following are only valid in the development environment, and
// will fail if executed from an installed executable (because the
// generated path won't exist).
« no previous file with comments | « chrome/common/chrome_paths.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine