make vpx_debug_util.c inclusion conditional
authorJames Zern <jzern@google.com>
Wed, 1 May 2019 00:42:46 +0000 (17:42 -0700)
committerJames Zern <jzern@google.com>
Wed, 1 May 2019 00:45:07 +0000 (17:45 -0700)
on CONFIG_BITSTREAM_DEBUG. this avoids an object file containing no
symbols which may cause warnings on some platforms.

Change-Id: I02af97d6970de949466c29f50d272733d97ee8d2

vpx_util/vpx_util.mk

index 03da63b..e83a4c4 100644 (file)
@@ -15,5 +15,5 @@ UTIL_SRCS-yes += vpx_thread.h
 UTIL_SRCS-yes += endian_inl.h
 UTIL_SRCS-yes += vpx_write_yuv_frame.h
 UTIL_SRCS-yes += vpx_write_yuv_frame.c
-UTIL_SRCS-yes += vpx_debug_util.h
-UTIL_SRCS-yes += vpx_debug_util.c
+UTIL_SRCS-$(CONFIG_BITSTREAM_DEBUG) += vpx_debug_util.h
+UTIL_SRCS-$(CONFIG_BITSTREAM_DEBUG) += vpx_debug_util.c