summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc')
-rw-r--r--www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc b/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc
index d41492804116..f138044f8a19 100644
--- a/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc
+++ b/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc
@@ -1,20 +1,20 @@
---- chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2022-02-07 13:39:41 UTC
+--- chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2022-03-25 21:59:56 UTC
+++ chrome/test/chromedriver/chrome/chrome_finder.cc
@@ -54,7 +54,7 @@ void GetApplicationDirs(std::vector<base::FilePath>* l
installation_locations[i].Append(L"Chromium\\Application"));
}
}
--#elif defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_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) {
base::FilePath browser_exes_array[] = {
- #if defined(OS_WIN) || defined(OS_MAC)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
base::FilePath(chrome::kBrowserProcessExecutablePath),
--#elif defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
base::FilePath("google-chrome"),
base::FilePath(chrome::kBrowserProcessExecutablePath),
base::FilePath("chromium"),