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