diff --git a/BUILD.gn b/BUILD.gn index 8057cffa7..ecc51f9ad 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -308,6 +308,7 @@ if (libyuv_include_tests) { ] deps = [ ":libyuv", + "//build/config:exe_and_shlib_deps", # for asan on llvm libc++ ] if (is_linux) { cflags = [ "-fexceptions" ] @@ -321,6 +322,7 @@ if (libyuv_include_tests) { ] deps = [ ":libyuv", + "//build/config:exe_and_shlib_deps", # for new[] on llvm libc++ ] if (is_linux) { cflags = [ "-fexceptions" ] @@ -336,6 +338,7 @@ if (libyuv_include_tests) { ] deps = [ ":libyuv", + "//build/config:exe_and_shlib_deps", # for new[] on llvm libc++ ] if (!is_ios && !libyuv_disable_jpeg) { @@ -350,6 +353,7 @@ if (libyuv_include_tests) { ] deps = [ ":libyuv", + "//build/config:exe_and_shlib_deps", # for asan on llvm libc++ ] } }