ref: e2b451d9e399d0d72a24f288b8c0aa0456a59dda
parent: 880ee94a94684b860fd330a2e97eadb3aaab4897
author: Brion Vibber <[email protected]>
date: Tue May 3 00:23:17 EDT 2016
Break exports for spatial_svc out to fix shared builds without it Change-Id: I208c84cce216464b82eaa51945ce17a8e6625673
--- a/libs.mk
+++ b/libs.mk
@@ -183,6 +183,9 @@
endif
CODEC_EXPORTS-yes += vpx/exports_com
CODEC_EXPORTS-$(CONFIG_ENCODERS) += vpx/exports_enc
+ifeq ($(CONFIG_SPATIAL_SVC),yes)
+CODEC_EXPORTS-$(CONFIG_ENCODERS) += vpx/exports_spatial_svc
+endif
CODEC_EXPORTS-$(CONFIG_DECODERS) += vpx/exports_dec
INSTALL-LIBS-yes += include/vpx/vpx_codec.h
--- a/vpx/exports_enc
+++ b/vpx/exports_enc
@@ -7,9 +7,3 @@
text vpx_codec_get_global_headers
text vpx_codec_get_preview_frame
text vpx_codec_set_cx_data_buf
-text vpx_svc_dump_statistics
-text vpx_svc_encode
-text vpx_svc_get_message
-text vpx_svc_init
-text vpx_svc_release
-text vpx_svc_set_options
--- /dev/null
+++ b/vpx/exports_spatial_svc
@@ -1,0 +1,6 @@
+text vpx_svc_dump_statistics
+text vpx_svc_encode
+text vpx_svc_get_message
+text vpx_svc_init
+text vpx_svc_release
+text vpx_svc_set_options