• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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
9LOCAL_PATH := $(call my-dir)
10
11include $(CLEAR_VARS)
12include $(LOCAL_PATH)/android-webrtc.mk
13
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)
32LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
33    libwebrtc_aecm_neon \
34    libwebrtc_ns_neon
35endif
36
37LOCAL_STATIC_LIBRARIES := \
38    libprotobuf-cpp-2.3.0-lite
39
40LOCAL_SHARED_LIBRARIES := \
41    libcutils \
42    libdl \
43    libstlport
44
45LOCAL_PRELINK_MODULE := false
46
47include external/stlport/libstlport.mk
48include $(BUILD_SHARED_LIBRARY)
49
50
51include $(CLEAR_VARS)
52include $(LOCAL_PATH)/android-webrtc.mk
53
54LOCAL_ARM_MODE := arm
55LOCAL_MODULE := libwebrtc_audio_coding
56LOCAL_MODULE_TAGS := optional
57
58LOCAL_WHOLE_STATIC_LIBRARIES := \
59    libwebrtc_isac \
60    libwebrtc_isacfix \
61    libwebrtc_spl \
62    libwebrtc_system_wrappers
63ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
64LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
65    libwebrtc_isacfix_neon
66endif
67
68LOCAL_STATIC_LIBRARIES := \
69    libprotobuf-cpp-2.3.0-lite
70LOCAL_SHARED_LIBRARIES := \
71    libcutils \
72    libdl \
73    libstlport
74
75LOCAL_PRELINK_MODULE := false
76
77include external/stlport/libstlport.mk
78include $(BUILD_SHARED_LIBRARY)
79
80
81include $(CLEAR_VARS)
82include $(LOCAL_PATH)/android-webrtc.mk
83
84LOCAL_ARM_MODE := arm
85LOCAL_MODULE := libwebrtc_audio_coding_gnustl_static
86LOCAL_MODULE_TAGS := optional
87
88LOCAL_WHOLE_STATIC_LIBRARIES := \
89    libwebrtc_isac_gnustl_static \
90    libwebrtc_isacfix_gnustl_static \
91    libwebrtc_spl_gnustl_static \
92    libwebrtc_system_wrappers_gnustl_static
93ifeq ($(WEBRTC_BUILD_NEON_LIBS),true)
94LOCAL_WHOLE_STATIC_LIBRARIES_arm += \
95    libwebrtc_isacfix_neon_gnustl_static
96endif
97
98LOCAL_STATIC_LIBRARIES := \
99    libprotobuf-cpp-2.3.0-lite
100LOCAL_SHARED_LIBRARIES := \
101    libcutils \
102    libdl
103
104LOCAL_PRELINK_MODULE := false
105
106LOCAL_NDK_STL_VARIANT := gnustl_static
107LOCAL_SDK_VERSION := 14
108
109include $(BUILD_STATIC_LIBRARY)
110
111webrtc_path := $(LOCAL_PATH)
112# voice
113include $(webrtc_path)/src/common_audio/resampler/Android.mk
114include $(webrtc_path)/src/common_audio/signal_processing/Android.mk
115include $(webrtc_path)/src/common_audio/vad/Android.mk
116include $(webrtc_path)/src/modules/audio_coding/codecs/isac/fix/Android.mk
117include $(webrtc_path)/src/modules/audio_coding/codecs/isac/main/source/Android.mk
118include $(webrtc_path)/src/modules/audio_processing/aec/Android.mk
119include $(webrtc_path)/src/modules/audio_processing/aecm/Android.mk
120include $(webrtc_path)/src/modules/audio_processing/agc/Android.mk
121include $(webrtc_path)/src/modules/audio_processing/Android.mk
122include $(webrtc_path)/src/modules/audio_processing/ns/Android.mk
123include $(webrtc_path)/src/modules/audio_processing/utility/Android.mk
124#include $(webrtc_path)/src/modules/utility/source/Android.mk
125include $(webrtc_path)/src/system_wrappers/source/Android.mk
126
127# libwebrtc_audio_coding_gnustl_static dependencies
128WEBRTC_STL := gnustl_static
129include $(webrtc_path)/src/system_wrappers/source/Android.mk
130include $(webrtc_path)/src/modules/audio_coding/codecs/isac/main/source/Android.mk
131include $(webrtc_path)/src/modules/audio_coding/codecs/isac/fix/Android.mk
132include $(webrtc_path)/src/common_audio/signal_processing/Android.mk
133