build: Install module_common_types.h and dependencies

This is needed for at least the AudioFrame class.

Unfortunately, this does add a bit of ugliness because
module_common_types.h has video bits that are hidden behind our own
define, which now becomes part of pkg-config CFLAGS.

This could be made less ugly, potentially, but I'm not sure how right
now.
This commit is contained in:
Arun Raghavan 2015-10-19 22:44:59 +05:30
parent 7771f4d7f3
commit 360faa363d
2 changed files with 5 additions and 2 deletions

View File

@ -5,11 +5,14 @@ pkgconfig_DATA = webrtc-audio-processing.pc
webrtcincludedir = $(includedir)/webrtc_audio_processing webrtcincludedir = $(includedir)/webrtc_audio_processing
nobase_webrtcinclude_HEADERS = webrtc/base/arraysize.h \ nobase_webrtcinclude_HEADERS = webrtc/base/arraysize.h \
webrtc/base/constructormagic.h \
webrtc/base/basictypes.h \ webrtc/base/basictypes.h \
webrtc/base/platform_file.h \ webrtc/base/platform_file.h \
webrtc/common.h \ webrtc/common.h \
webrtc/common_types.h \
webrtc/typedefs.h \ webrtc/typedefs.h \
webrtc/modules/audio_processing/beamformer/array_util.h \ webrtc/modules/audio_processing/beamformer/array_util.h \
webrtc/modules/audio_processing/include/audio_processing.h webrtc/modules/audio_processing/include/audio_processing.h \
webrtc/modules/interface/module_common_types.h
# FIXME: We should deprecate installing this to the top directory soon # FIXME: We should deprecate installing this to the top directory soon
webrtcinclude_HEADERS = webrtc/modules/audio_processing/include/audio_processing.h webrtcinclude_HEADERS = webrtc/modules/audio_processing/include/audio_processing.h

View File

@ -7,4 +7,4 @@ Name: webrtc-audio-processing
Description: WebRTC Audio Processing library Description: WebRTC Audio Processing library
Version: @PACKAGE_VERSION@ Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lwebrtc_audio_processing Libs: -L${libdir} -lwebrtc_audio_processing
Cflags: -I${includedir}/webrtc_audio_processing @PLATFORM_CFLAGS@ Cflags: -DWEBRTC_AUDIO_PROCESSING_ONLY_BUILD -I${includedir}/webrtc_audio_processing @PLATFORM_CFLAGS@