diff --git a/modules/desktop_capture/BUILD.gn b/modules/desktop_capture/BUILD.gn index 64ce1a2bf3..0c59ecd38d 100644 --- a/modules/desktop_capture/BUILD.gn +++ b/modules/desktop_capture/BUILD.gn @@ -287,7 +287,7 @@ if (is_linux || is_chromeos) { # Chromecast build config overrides `WEBRTC_USE_PIPEWIRE` even when # `rtc_use_pipewire` is not set, which causes pipewire_config to not be # included in targets. More details in: webrtc:13898 - if (is_linux && !is_chromecast) { + if (is_linux && !is_castos) { defines += [ "WEBRTC_USE_GIO" ] } } @@ -396,7 +396,7 @@ rtc_library("desktop_capture_generic") { "window_finder.cc", "window_finder.h", ] - if (is_linux && !is_chromecast && rtc_use_pipewire) { + if (is_linux && !is_castos && rtc_use_pipewire) { sources += [ "desktop_capture_metadata.h" ] } if (is_mac) { diff --git a/webrtc.gni b/webrtc.gni index 264f0d6863..c91c25ba0d 100644 --- a/webrtc.gni +++ b/webrtc.gni @@ -65,7 +65,7 @@ declare_args() { # When WebRTC is built as part of Chromium it should exclude the default # implementation of field_trial unless it is building for NACL or # Chromecast. - rtc_exclude_field_trial_default = !is_nacl && !is_chromecast + rtc_exclude_field_trial_default = !is_nacl && !is_castos && !is_cast_android } else { rtc_exclude_field_trial_default = false }