diff --git a/BUILD.gn b/BUILD.gn index 2e5fbb6b004f..d1bd7ee29daf 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -338,7 +338,6 @@ source_set("electron_lib") { "//base/allocator:buildflags", "//chrome/app:command_ids", "//chrome/app/resources:platform_locale_settings", - "//chrome/services/printing/public/mojom", "//components/certificate_transparency", "//components/language/core/browser", "//components/net_log", @@ -632,7 +631,10 @@ source_set("electron_lib") { "shell/renderer/printing/print_render_frame_helper_delegate.cc", "shell/renderer/printing/print_render_frame_helper_delegate.h", ] - deps += [ "//components/printing/common:mojo_interfaces" ] + deps += [ + "//chrome/services/printing/public/mojom", + "//components/printing/common:mojo_interfaces", + ] } if (enable_electron_extensions) {