From 360faa363d15e8e82f4b2f383c3c10bd5c0a60e6 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Mon, 19 Oct 2015 22:44:59 +0530 Subject: [PATCH] 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. --- Makefile.am | 5 ++++- webrtc-audio-processing.pc.in | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 56d41d0..be9c5d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,11 +5,14 @@ pkgconfig_DATA = webrtc-audio-processing.pc webrtcincludedir = $(includedir)/webrtc_audio_processing nobase_webrtcinclude_HEADERS = webrtc/base/arraysize.h \ + webrtc/base/constructormagic.h \ webrtc/base/basictypes.h \ webrtc/base/platform_file.h \ webrtc/common.h \ + webrtc/common_types.h \ webrtc/typedefs.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 webrtcinclude_HEADERS = webrtc/modules/audio_processing/include/audio_processing.h diff --git a/webrtc-audio-processing.pc.in b/webrtc-audio-processing.pc.in index 662c514..aa18ddc 100644 --- a/webrtc-audio-processing.pc.in +++ b/webrtc-audio-processing.pc.in @@ -7,4 +7,4 @@ Name: webrtc-audio-processing Description: WebRTC Audio Processing library Version: @PACKAGE_VERSION@ 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@