Skip to content

Commit a8d9338

Browse files
author
Allison Durkan
committed
adding support for building and running unit tests for windows implementation h264 decoder
1 parent dfc88bf commit a8d9338

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

third_party/winuwp_h264/BUILD.gn

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ static_library("winuwp_h264") {
3333
#Added because of warning C4467: usage of ATL attributes is deprecated.
3434
#Problem is usage of uuid attribute for IAsyncStreamSinkOperation in H264StreamSink.h file.
3535
#It is planned to be modified, so this is temporrary fix.
36-
if (target_os == "winuwp") {
36+
if (is_win) {
3737
cflags = [ "/wd4467" ]
3838
cflags_cc = [ "/wd4467" ]
39+
libs = ["runtimeobject.lib"]
3940
}
4041
}

0 commit comments

Comments
 (0)