From 3160e608e23c98db9206b5fff340f44a9f1b1e5d Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Tue, 16 Mar 2021 11:41:00 -0400 Subject: [PATCH] only include mac notifications on mac --- BUILD.gn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 53a04bfd6e52..c206e1e5775c 100644 --- a/BUILD.gn +++ b/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) {