blob: e7165c7caf650c3fe0bd6e6f8cf12baa27b6e976 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2020-09-08 19:14:01 UTC
+++ chrome/test/chromedriver/chrome/chrome_finder.cc
@@ -53,7 +53,7 @@ void GetApplicationDirs(std::vector<base::FilePath>* l
installation_locations[i].Append(L"Chromium\\Application"));
}
}
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
void GetApplicationDirs(std::vector<base::FilePath>* locations) {
// TODO: Respect users' PATH variables.
// Until then, we use an approximation of the most common defaults.
@@ -139,7 +139,7 @@ bool FindChrome(base::FilePath* browser_exe) {
#if defined(OS_WIN) || defined(OS_MACOSX)
base::FilePath(chrome::kBrowserProcessExecutablePath),
base::FilePath(chrome::kBrowserProcessExecutablePathChromium)
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
base::FilePath("google-chrome"),
base::FilePath(chrome::kBrowserProcessExecutablePath),
base::FilePath(chrome::kBrowserProcessExecutablePathChromium),
|