Adding WinUWP compilation support to WebRTC.
Windows UWP allows an application to be built that targets
across all Windows 10 based systems and the Windows store.
Change-Id: I69694bb7e83fb01ad6db2438b065b55738cf01fd
Bug: webrtc:10046
Reviewed-on: https://webrtc-review.googlesource.com/c/110570
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25814}
diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn
index 75c4397..c88815f 100644
--- a/rtc_base/BUILD.gn
+++ b/rtc_base/BUILD.gn
@@ -870,11 +870,13 @@
]
if (is_win) {
- sources += [
- "win32socketinit.h",
- "win32socketserver.cc",
- "win32socketserver.h",
- ]
+ sources += [ "win32socketinit.h" ]
+ if (current_os != "winuwp") {
+ sources += [
+ "win32socketserver.cc",
+ "win32socketserver.h",
+ ]
+ }
}
} # !build_with_chromium