aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_test_BUILD.gn
blob: 46256e1091d1803b9e390b6c7f05d832e74141a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- base/test/BUILD.gn.orig	2021-05-12 22:05:40 UTC
+++ base/test/BUILD.gn
@@ -423,7 +423,11 @@ if (is_linux || is_chromeos) {
 
   copy("fonts_conf") {
     sources = [ "fonts.conf" ]
-    outputs = [ "${root_build_dir}/etc/fonts/{{source_file_part}}" ]
+    if (is_bsd) {
+      outputs = [ "${root_build_dir}/usr/local/etc/fonts/{{source_file_part}}" ]
+    } else {
+      outputs = [ "${root_build_dir}/etc/fonts/{{source_file_part}}" ]
+    }
   }
 
   if (current_toolchain == host_toolchain) {