mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: remove stale dependency for webrtc desktop capture module (#32318)
WebRTC has changed how they integrate into Chromium, they don't expose their dependencies externally anymore. Instead, one must now go through webrtc_overrides: https://chromium.googlesource.com/chromium/src.git/+/cbc90fd093956 We're already including webrtc_overrides as a dependency which includes the modules, so this extra deps isn't needed anymore. Co-authored-by: Romain Pokrzywka <rpokrzywka@nvidia.com>
This commit is contained in:
6
BUILD.gn
6
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",
|
||||
|
||||
Reference in New Issue
Block a user