summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-printing_BUILD.gn
blob: 65262b263bfe02f035566377d535b3361bddac64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- printing/BUILD.gn.orig	2017-03-09 20:04:35 UTC
+++ printing/BUILD.gn
@@ -137,7 +137,7 @@ component("printing") {
   if (use_cups) {
     configs += [ ":cups" ]
 
-    if (is_linux) {
+    if (is_linux || is_bsd) {
       # rebase_path does not accept an empty string
       if (use_sysroot) {
         cups_sysroot = rebase_path(sysroot)
@@ -214,7 +214,7 @@ component("printing") {
       "printing_context_no_system_dialog.cc",
       "printing_context_no_system_dialog.h",
     ]
-  } else if (is_linux) {  # Non-ChromeOS Linux.
+  } else if (is_linux || is_bsd) {  # Non-ChromeOS Linux/BSD.
     sources += [
       "printed_document_linux.cc",
       "printing_context_linux.cc",
OpenPOWER on IntegriCloud