From e2b451d9e399d0d72a24f288b8c0aa0456a59dda Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 3 May 2016 04:23:17 -0400 Subject: [PATCH] Break exports for spatial_svc out to fix shared builds without it Change-Id: I208c84cce216464b82eaa51945ce17a8e6625673 --- libs.mk | 3 +++ vpx/exports_enc | 6 ------ vpx/exports_spatial_svc | 6 ++++++ 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 vpx/exports_spatial_svc diff --git a/libs.mk b/libs.mk index c2a4725..54592ab 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 e4707ba..914e36c 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 0000000..d258a1d --- /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 -- 2.7.4