Browse Source

only include mac notifications on mac

John Kleinschmidt 4 years ago
parent
commit
3160e608e2
1 changed files with 3 additions and 1 deletions
  1. 3 1
      BUILD.gn

+ 3 - 1
BUILD.gn

@@ -619,10 +619,12 @@ source_set("electron_lib") {
       "shell/renderer/printing/print_render_frame_helper_delegate.h",
     ]
     deps += [
-      "//chrome/services/mac_notifications/public/mojom",
       "//chrome/services/printing/public/mojom",
       "//components/printing/common:mojo_interfaces",
     ]
+    if (is_mac) {
+      deps += [ "//chrome/services/mac_notifications/public/mojom" ]
+    }
   }
 
   if (enable_electron_extensions) {