diff --git a/BUILD.gn b/BUILD.gn index 452dc4cbdc8..09125f865a8 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -632,12 +632,6 @@ source_set("electron_lib") { } if (enable_desktop_capturer) { - if (is_component_build && !is_linux) { - # On windows the implementation relies on unexported - # DxgiDuplicatorController class. On macOS the implementation - # relies on unexported webrtc::GetWindowOwnerPid method. - deps += [ "//third_party/webrtc/modules/desktop_capture" ] - } sources += [ "shell/browser/api/electron_api_desktop_capturer.cc", "shell/browser/api/electron_api_desktop_capturer.h",