kjellander@webrtc.org | 0a57aae | 2012-02-15 09:47:55 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 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 | |
| 9 | MY_WEBRTC_ROOT_PATH := $(call my-dir) |
| 10 | |
| 11 | # voice |
leozwang@webrtc.org | a191655 | 2012-01-19 19:53:37 +0000 | [diff] [blame] | 12 | include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/resampler/Android.mk |
| 13 | include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/signal_processing/Android.mk |
| 14 | include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/vad/Android.mk |
leozwang@webrtc.org | e7c2a5f | 2012-01-19 21:16:13 +0000 | [diff] [blame] | 15 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aec/Android.mk |
| 16 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aecm/Android.mk |
| 17 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/agc/Android.mk |
| 18 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/Android.mk |
| 19 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/ns/Android.mk |
| 20 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/utility/Android.mk |
leozwang@webrtc.org | a191506 | 2012-01-19 22:11:37 +0000 | [diff] [blame] | 21 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/utility/source/Android.mk |
leozwang@webrtc.org | e7c2a5f | 2012-01-19 21:16:13 +0000 | [diff] [blame] | 22 | include $(MY_WEBRTC_ROOT_PATH)/src/system_wrappers/source/Android.mk |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 23 | |
| 24 | # build .so |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 25 | LOCAL_PATH := $(call my-dir) |
| 26 | |
| 27 | include $(CLEAR_VARS) |
kma@webrtc.org | b59c031 | 2011-12-03 18:34:50 +0000 | [diff] [blame] | 28 | include $(LOCAL_PATH)/../../external/webrtc/android-webrtc.mk |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 29 | |
| 30 | LOCAL_ARM_MODE := arm |
| 31 | LOCAL_MODULE := libwebrtc_audio_preprocessing |
| 32 | LOCAL_MODULE_TAGS := optional |
| 33 | |
| 34 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 35 | libwebrtc_spl \ |
| 36 | libwebrtc_resampler \ |
| 37 | libwebrtc_apm \ |
| 38 | libwebrtc_apm_utility \ |
| 39 | libwebrtc_vad \ |
| 40 | libwebrtc_ns \ |
| 41 | libwebrtc_agc \ |
| 42 | libwebrtc_aec \ |
| 43 | libwebrtc_aecm \ |
| 44 | libwebrtc_system_wrappers |
| 45 | |
kma@webrtc.org | b59c031 | 2011-12-03 18:34:50 +0000 | [diff] [blame] | 46 | # Add Neon libraries. |
kma@webrtc.org | 746f9e3 | 2012-01-04 17:47:57 +0000 | [diff] [blame] | 47 | ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) |
kma@webrtc.org | b59c031 | 2011-12-03 18:34:50 +0000 | [diff] [blame] | 48 | LOCAL_WHOLE_STATIC_LIBRARIES += \ |
| 49 | libwebrtc_aecm_neon \ |
| 50 | libwebrtc_ns_neon |
| 51 | endif |
| 52 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 53 | LOCAL_STATIC_LIBRARIES := \ |
| 54 | libprotobuf-cpp-2.3.0-lite |
| 55 | |
| 56 | LOCAL_SHARED_LIBRARIES := \ |
| 57 | libcutils \ |
| 58 | libdl \ |
| 59 | libstlport |
| 60 | |
| 61 | LOCAL_PRELINK_MODULE := false |
| 62 | |
| 63 | ifndef NDK_ROOT |
| 64 | include external/stlport/libstlport.mk |
| 65 | endif |
leozwang@webrtc.org | e7c2a5f | 2012-01-19 21:16:13 +0000 | [diff] [blame] | 66 | include $(BUILD_SHARED_LIBRARY) |