diff --git a/BUILD.gn b/BUILD.gn index 1765c13fd..01b023ee6 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -19,6 +19,23 @@ config("libyuv_config") { } } +# This target is built when no specific target is specified on the command line. +group("default") { + testonly = true + deps = [ + ":libyuv", + ] + if (libyuv_include_tests) { + deps += [ + ":compare", + ":convert", + ":cpuid", + ":libyuv_unittest", + ":psnr", + ] + } +} + static_library("libyuv") { sources = [ # Headers