Skip to content

Commit

Permalink
Turn on the RTC_ENABLE_WIN_WGC build flag.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Commit-Queue: Austin Orion <[email protected]>
Cr-Commit-Position: refs/heads/master@{#33968}
  • Loading branch information
auorion authored and WebRTC LUCI CQ committed May 10, 2021
1 parent af406c1 commit 78f04d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webrtc.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 78f04d8

Please sign in to comment.