diff --git a/BUILD.gn b/BUILD.gn index a240d1168..ff38a0548 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -17,7 +17,12 @@ config("libyuv_config") { use_neon = current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon) -source_set("libyuv") { +static_library("libyuv") { + # libyuv requires that foo_posix.cc is linked in on Windows too, + # just like in libyuv.gyp + # TODO(thakis): Fix this, http://crbug.com/496928 + set_sources_assignment_filter([]) + sources = [ "include/libyuv.h", "include/libyuv/basic_types.h",