blob: d79d19da6a31a1fe2af31fc6fcd76ea33b2febe9 [file] [log] [blame]
Eric Laurente48d5842011-06-16 21:50:24 -07001# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
Eric Laurentc55a9632012-01-31 14:20:52 -08009LOCAL_PATH := $(call my-dir)
Eric Laurente48d5842011-06-16 21:50:24 -070010
Eric Laurentc55a9632012-01-31 14:20:52 -080011include $(CLEAR_VARS)
Ying Wang789c38c2014-02-28 18:04:01 -080012include $(LOCAL_PATH)/android-webrtc.mk
Eric Laurentc55a9632012-01-31 14:20:52 -080013
14LOCAL_ARM_MODE := arm
15LOCAL_MODULE := libwebrtc_audio_preprocessing
16LOCAL_MODULE_TAGS := optional
17
18LOCAL_WHOLE_STATIC_LIBRARIES := \
19 libwebrtc_spl \
20 libwebrtc_resampler \
21 libwebrtc_apm \
22 libwebrtc_apm_utility \
23 libwebrtc_vad \
24 libwebrtc_ns \
25 libwebrtc_agc \
26 libwebrtc_aec \
27 libwebrtc_aecm \
28 libwebrtc_system_wrappers
29
30# Add Neon libraries.
31ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
Ying Wang9fb55172014-03-10 18:16:38 -070032LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
Eric Laurentc55a9632012-01-31 14:20:52 -080033 libwebrtc_aecm_neon \
34 libwebrtc_ns_neon
35endif
36
Eric Laurentc55a9632012-01-31 14:20:52 -080037LOCAL_SHARED_LIBRARIES := \
38 libcutils \
39 libdl \
Dan Albertb7831e02014-11-11 10:58:41 -080040 libprotobuf-cpp-lite \
Eric Laurentc55a9632012-01-31 14:20:52 -080041
Eric Laurentc55a9632012-01-31 14:20:52 -080042
Eric Laurentc55a9632012-01-31 14:20:52 -080043include $(BUILD_SHARED_LIBRARY)
44
Przemyslaw Szczepaniak5d8e19e2013-02-04 18:00:41 +000045
Alexander Gutkin6f12fff2012-08-20 16:27:22 +010046include $(CLEAR_VARS)
Ying Wang789c38c2014-02-28 18:04:01 -080047include $(LOCAL_PATH)/android-webrtc.mk
Alexander Gutkin6f12fff2012-08-20 16:27:22 +010048
49LOCAL_ARM_MODE := arm
50LOCAL_MODULE := libwebrtc_audio_coding
51LOCAL_MODULE_TAGS := optional
52
53LOCAL_WHOLE_STATIC_LIBRARIES := \
54 libwebrtc_isac \
Alexander Gutkina6451822012-09-17 08:53:18 +010055 libwebrtc_isacfix \
Alexander Gutkin6f12fff2012-08-20 16:27:22 +010056 libwebrtc_spl \
57 libwebrtc_system_wrappers
Alexander Gutkina6451822012-09-17 08:53:18 +010058ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
Ying Wang9fb55172014-03-10 18:16:38 -070059LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
Alexander Gutkina6451822012-09-17 08:53:18 +010060 libwebrtc_isacfix_neon
61endif
62
Alexander Gutkin6f12fff2012-08-20 16:27:22 +010063LOCAL_STATIC_LIBRARIES := \
Jeff Davidson9a2fe422014-09-15 18:12:34 -070064 libprotobuf-cpp-lite
Alexander Gutkin6f12fff2012-08-20 16:27:22 +010065LOCAL_SHARED_LIBRARIES := \
66 libcutils \
67 libdl \
Alexander Gutkin6f12fff2012-08-20 16:27:22 +010068
Alexander Gutkin6f12fff2012-08-20 16:27:22 +010069
Alexander Gutkin6f12fff2012-08-20 16:27:22 +010070include $(BUILD_SHARED_LIBRARY)
Przemyslaw Szczepaniak5d8e19e2013-02-04 18:00:41 +000071
72
73include $(CLEAR_VARS)
Ying Wang789c38c2014-02-28 18:04:01 -080074include $(LOCAL_PATH)/android-webrtc.mk
Przemyslaw Szczepaniak5d8e19e2013-02-04 18:00:41 +000075
76LOCAL_ARM_MODE := arm
77LOCAL_MODULE := libwebrtc_audio_coding_gnustl_static
78LOCAL_MODULE_TAGS := optional
79
80LOCAL_WHOLE_STATIC_LIBRARIES := \
81 libwebrtc_isac_gnustl_static \
82 libwebrtc_isacfix_gnustl_static \
83 libwebrtc_spl_gnustl_static \
84 libwebrtc_system_wrappers_gnustl_static
85ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
Ying Wang9fb55172014-03-10 18:16:38 -070086LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
Przemyslaw Szczepaniak5d8e19e2013-02-04 18:00:41 +000087 libwebrtc_isacfix_neon_gnustl_static
88endif
89
90LOCAL_STATIC_LIBRARIES := \
Jeff Davidson9a2fe422014-09-15 18:12:34 -070091 libprotobuf-cpp-lite
Przemyslaw Szczepaniak5d8e19e2013-02-04 18:00:41 +000092LOCAL_SHARED_LIBRARIES := \
93 libcutils \
94 libdl
95
Przemyslaw Szczepaniak5d8e19e2013-02-04 18:00:41 +000096
97LOCAL_NDK_STL_VARIANT := gnustl_static
98LOCAL_SDK_VERSION := 14
99
100include $(BUILD_STATIC_LIBRARY)
Ying Wang789c38c2014-02-28 18:04:01 -0800101
102webrtc_path := $(LOCAL_PATH)
103# voice
104include $(webrtc_path)/src/common_audio/resampler/Android.mk
105include $(webrtc_path)/src/common_audio/signal_processing/Android.mk
106include $(webrtc_path)/src/common_audio/vad/Android.mk
Ying Wang056a3c32014-03-13 11:44:57 -0700107include $(webrtc_path)/src/modules/audio_coding/codecs/isac/fix/Android.mk
Ying Wang789c38c2014-02-28 18:04:01 -0800108include $(webrtc_path)/src/modules/audio_coding/codecs/isac/main/source/Android.mk
109include $(webrtc_path)/src/modules/audio_processing/aec/Android.mk
110include $(webrtc_path)/src/modules/audio_processing/aecm/Android.mk
111include $(webrtc_path)/src/modules/audio_processing/agc/Android.mk
112include $(webrtc_path)/src/modules/audio_processing/Android.mk
113include $(webrtc_path)/src/modules/audio_processing/ns/Android.mk
114include $(webrtc_path)/src/modules/audio_processing/utility/Android.mk
115#include $(webrtc_path)/src/modules/utility/source/Android.mk
116include $(webrtc_path)/src/system_wrappers/source/Android.mk
117
118# libwebrtc_audio_coding_gnustl_static dependencies
119WEBRTC_STL := gnustl_static
120include $(webrtc_path)/src/system_wrappers/source/Android.mk
121include $(webrtc_path)/src/modules/audio_coding/codecs/isac/main/source/Android.mk
Ying Wang056a3c32014-03-13 11:44:57 -0700122include $(webrtc_path)/src/modules/audio_coding/codecs/isac/fix/Android.mk
Ying Wang789c38c2014-02-28 18:04:01 -0800123include $(webrtc_path)/src/common_audio/signal_processing/Android.mk