Index: content/browser/BUILD.gn |
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn |
index 43c656be236b942e21d5696b4dfb8c544db53e86..053a15bbf9784aee39f5cb743cbef9ceca05b296 100644 |
--- a/content/browser/BUILD.gn |
+++ b/content/browser/BUILD.gn |
@@ -1458,6 +1458,9 @@ source_set("browser") { |
"//third_party/webrtc/media:rtc_media", |
"//third_party/webrtc/modules/desktop_capture:primitives", |
] |
+ if (!is_ios) { |
+ defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
+ } |
if (is_linux || is_mac || is_win) { |
sources += [ |
"media/capture/desktop_capture_device.cc", |
@@ -1471,7 +1474,6 @@ source_set("browser") { |
"media/capture/desktop_capture_device_aura.h", |
] |
} |
- defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
} |
} |