]> granicus.if.org Git - libvpx/commitdiff
Break exports for spatial_svc out to fix shared builds without it
authorBrion Vibber <bvibber@wikimedia.org>
Tue, 3 May 2016 08:23:17 +0000 (04:23 -0400)
committerBrion Vibber <bvibber@wikimedia.org>
Wed, 4 May 2016 19:41:41 +0000 (15:41 -0400)
Change-Id: I208c84cce216464b82eaa51945ce17a8e6625673

libs.mk
vpx/exports_enc
vpx/exports_spatial_svc [new file with mode: 0644]

diff --git a/libs.mk b/libs.mk
index c2a4725b053855b896ede8798e9d7de523170d0e..54592abb1cfc73168a7a42fbedfc43dd78e91d7f 100644 (file)
--- 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
index e4707ba10822a16c97373242e3da774b1a022f0a..914e36cd4c1f5af60285ce187e97ef6013ce458c 100644 (file)
@@ -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 (file)
index 0000000..d258a1d
--- /dev/null
@@ -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