build: remove stale dependency for webrtc desktop capture module (#32304)
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.
This commit is contained in:
parent
84451e7daf
commit
727453ef04
1 changed files with 0 additions and 6 deletions
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",
|
||||
|
|
Loading…
Reference in a new issue