aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc
blob: ce32ad6feb3adc8224dfbeea6c7454dfc77063e4 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                       
                                                    
                                                                        


                                                                     

                                                                         
                                                                  

                                                                      
                                                                  
                                          
                                           
                                                           

                                                                         

                                                           
                                
--- chrome/test/chromedriver/chrome/chrome_finder.cc.orig	2022-04-21 18:48:31 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 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.
@@ -138,7 +138,7 @@ bool FindChrome(base::FilePath* browser_exe) {
   base::FilePath browser_exes_array[] = {
 #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
     base::FilePath(chrome::kBrowserProcessExecutablePath),
-#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"),