Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: content/browser/BUILD.gn

Issue 2625553003: DesktopCaptureDevice is available when webrtc is enabled. (Closed)
Patch Set: Guard one more place with ENABLE_SCREEN_CAPTURE Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index a08452be25868cc8a74dd6134b23452637d2b65a..a485dc3c3d85b2d55e2b4f0a9287e0ce90c7f516 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -1511,7 +1511,7 @@ source_set("browser") {
}
# Desktop screen capture implementations that are not dependent on WebRTC.
- if (is_linux || is_mac || is_win) {
+ if ((is_linux && !(is_chromecast && is_cast_audio_only)) || is_mac || is_win) {
defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
sources += [
"media/capture/cursor_renderer.cc",

Powered by Google App Engine
This is Rietveld 408576698