ports/www/chromium/patches/patch-chrome_common_chrome_paths_h

31 lines
1.5 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: chrome/common/chrome_paths.h
--- chrome/common/chrome_paths.h.orig
+++ chrome/common/chrome_paths.h
2023-09-14 00:49:35 +00:00
@@ -57,7 +57,7 @@ enum {
2023-08-16 22:26:55 +00:00
#if BUILDFLAG(IS_CHROMEOS_ASH) || \
((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \
BUILDFLAG(CHROMIUM_BRANDING)) || \
- BUILDFLAG(IS_MAC)
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
// on Chrome Mac and Chromium Linux.
// On Chrome OS, this path is used for OEM
2023-09-14 00:49:35 +00:00
@@ -65,7 +65,7 @@ enum {
2023-08-16 22:26:55 +00:00
// create it.
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension'
// definition manifest files that
// describe extensions which are to be
2023-09-14 00:49:35 +00:00
@@ -123,7 +123,7 @@ enum {
// must be cleared on device reboot.
2023-08-16 22:26:55 +00:00
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
DIR_NATIVE_MESSAGING, // System directory where native messaging host
// manifest files are stored.
DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts