From 78f04d8f4df9701d8307fb6cbf6e1ff0a2646f05 Mon Sep 17 00:00:00 2001 From: Austin Orion Date: Fri, 23 Apr 2021 12:37:26 -0700 Subject: [PATCH] Turn on the RTC_ENABLE_WIN_WGC build flag. This CL enables the RTC_ENABLE_WIN_WGC build flag, which introduces a dependency on the Win10 SDK v10.0.17763. There is no change in behavior from enabling this flag. Consumers of WebRTC that use an older version of the Win10 SDK will see errors similar to: fatal error: 'windows.graphics.capture.interop.h' file not found fatal error: 'windows.graphics.capture.h' file not found They should upgrade to this or a newer version (Chromium requires, and thus WebRTC recommends, v10.0.19041). You can find instructions here: https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md Alternatively, consumers can disable this build flag in their downstream copies of the WebRTC repo. Bug: webrtc:9273 Change-Id: Ic6bf3ef3e69b8ba0e4022e07832fa66b6bcc6740 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215244 Reviewed-by: Mirko Bonadei Commit-Queue: Austin Orion Cr-Commit-Position: refs/heads/master@{#33968} --- webrtc.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc.gni b/webrtc.gni index 496cac84da..559078db34 100644 --- a/webrtc.gni +++ b/webrtc.gni @@ -209,7 +209,7 @@ declare_args() { # When set to true, a capturer implementation that uses the # Windows.Graphics.Capture APIs will be available for use. This introduces a # dependency on the Win 10 SDK v10.0.17763.0. - rtc_enable_win_wgc = false + rtc_enable_win_wgc = is_win } if (!build_with_mozilla) {