summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <bvibber@wikimedia.org>2016-05-03 04:23:17 -0400
committerBrion Vibber <bvibber@wikimedia.org>2016-05-04 15:41:41 -0400
commite2b451d9e399d0d72a24f288b8c0aa0456a59dda (patch)
tree98d128d1c7e298023d453734d9aedb3bb40ff6fe
parent880ee94a94684b860fd330a2e97eadb3aaab4897 (diff)
downloadlibvpx-e2b451d9e399d0d72a24f288b8c0aa0456a59dda.tar.gz
Break exports for spatial_svc out to fix shared builds without it
Change-Id: I208c84cce216464b82eaa51945ce17a8e6625673
-rw-r--r--libs.mk3
-rw-r--r--vpx/exports_enc6
-rw-r--r--vpx/exports_spatial_svc6
3 files changed, 9 insertions, 6 deletions
diff --git a/libs.mk b/libs.mk
index c2a4725b0..54592abb1 100644
--- a/libs.mk
+++ b/libs.mk
@@ -183,6 +183,9 @@ INSTALL-SRCS-$(CONFIG_CODEC_SRCS) += third_party/x86inc/x86inc.asm
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
diff --git a/vpx/exports_enc b/vpx/exports_enc
index e4707ba10..914e36cd4 100644
--- a/vpx/exports_enc
+++ b/vpx/exports_enc
@@ -7,9 +7,3 @@ text vpx_codec_get_cx_data
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
diff --git a/vpx/exports_spatial_svc b/vpx/exports_spatial_svc
new file mode 100644
index 000000000..d258a1d61
--- /dev/null
+++ b/vpx/exports_spatial_svc
@@ -0,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