Eric Laurent | e48d584 | 2011-06-16 21:50:24 -0700 | [diff] [blame] | 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 | |
Eric Laurent | c55a963 | 2012-01-31 14:20:52 -0800 | [diff] [blame] | 9 | LOCAL_PATH := $(call my-dir) |
Eric Laurent | e48d584 | 2011-06-16 21:50:24 -0700 | [diff] [blame] | 10 | |
Eric Laurent | c55a963 | 2012-01-31 14:20:52 -0800 | [diff] [blame] | 11 | include $(CLEAR_VARS) |
Ying Wang | 789c38c | 2014-02-28 18:04:01 -0800 | [diff] [blame] | 12 | include $(LOCAL_PATH)/android-webrtc.mk |
Eric Laurent | c55a963 | 2012-01-31 14:20:52 -0800 | [diff] [blame] | 13 | |
| 14 | LOCAL_ARM_MODE := arm |
| 15 | LOCAL_MODULE := libwebrtc_audio_preprocessing |
| 16 | LOCAL_MODULE_TAGS := optional |
| 17 | |
| 18 | LOCAL_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. |
| 31 | ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) |
Ying Wang | 9fb5517 | 2014-03-10 18:16:38 -0700 | [diff] [blame] | 32 | LOCAL_WHOLE_STATIC_LIBRARIES_arm += \ |
Eric Laurent | c55a963 | 2012-01-31 14:20:52 -0800 | [diff] [blame] | 33 | libwebrtc_aecm_neon \ |
| 34 | libwebrtc_ns_neon |
| 35 | endif |
| 36 | |
Eric Laurent | c55a963 | 2012-01-31 14:20:52 -0800 | [diff] [blame] | 37 | LOCAL_SHARED_LIBRARIES := \ |
| 38 | libcutils \ |
| 39 | libdl \ |
Dan Albert | b7831e0 | 2014-11-11 10:58:41 -0800 | [diff] [blame] | 40 | libprotobuf-cpp-lite \ |
Eric Laurent | c55a963 | 2012-01-31 14:20:52 -0800 | [diff] [blame] | 41 | |
Eric Laurent | c55a963 | 2012-01-31 14:20:52 -0800 | [diff] [blame] | 42 | |
Eric Laurent | c55a963 | 2012-01-31 14:20:52 -0800 | [diff] [blame] | 43 | include $(BUILD_SHARED_LIBRARY) |
| 44 | |
Przemyslaw Szczepaniak | 5d8e19e | 2013-02-04 18:00:41 +0000 | [diff] [blame] | 45 | |
Alexander Gutkin | 6f12fff | 2012-08-20 16:27:22 +0100 | [diff] [blame] | 46 | include $(CLEAR_VARS) |
Ying Wang | 789c38c | 2014-02-28 18:04:01 -0800 | [diff] [blame] | 47 | include $(LOCAL_PATH)/android-webrtc.mk |
Alexander Gutkin | 6f12fff | 2012-08-20 16:27:22 +0100 | [diff] [blame] | 48 | |
| 49 | LOCAL_ARM_MODE := arm |
| 50 | LOCAL_MODULE := libwebrtc_audio_coding |
| 51 | LOCAL_MODULE_TAGS := optional |
| 52 | |
| 53 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 54 | libwebrtc_isac \ |
Alexander Gutkin | a645182 | 2012-09-17 08:53:18 +0100 | [diff] [blame] | 55 | libwebrtc_isacfix \ |
Alexander Gutkin | 6f12fff | 2012-08-20 16:27:22 +0100 | [diff] [blame] | 56 | libwebrtc_spl \ |
| 57 | libwebrtc_system_wrappers |
Alexander Gutkin | a645182 | 2012-09-17 08:53:18 +0100 | [diff] [blame] | 58 | ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) |
Ying Wang | 9fb5517 | 2014-03-10 18:16:38 -0700 | [diff] [blame] | 59 | LOCAL_WHOLE_STATIC_LIBRARIES_arm += \ |
Alexander Gutkin | a645182 | 2012-09-17 08:53:18 +0100 | [diff] [blame] | 60 | libwebrtc_isacfix_neon |
| 61 | endif |
| 62 | |
Alexander Gutkin | 6f12fff | 2012-08-20 16:27:22 +0100 | [diff] [blame] | 63 | LOCAL_STATIC_LIBRARIES := \ |
Jeff Davidson | 9a2fe42 | 2014-09-15 18:12:34 -0700 | [diff] [blame] | 64 | libprotobuf-cpp-lite |
Alexander Gutkin | 6f12fff | 2012-08-20 16:27:22 +0100 | [diff] [blame] | 65 | LOCAL_SHARED_LIBRARIES := \ |
| 66 | libcutils \ |
| 67 | libdl \ |
Alexander Gutkin | 6f12fff | 2012-08-20 16:27:22 +0100 | [diff] [blame] | 68 | |
Alexander Gutkin | 6f12fff | 2012-08-20 16:27:22 +0100 | [diff] [blame] | 69 | |
Alexander Gutkin | 6f12fff | 2012-08-20 16:27:22 +0100 | [diff] [blame] | 70 | include $(BUILD_SHARED_LIBRARY) |
Przemyslaw Szczepaniak | 5d8e19e | 2013-02-04 18:00:41 +0000 | [diff] [blame] | 71 | |
| 72 | |
| 73 | include $(CLEAR_VARS) |
Ying Wang | 789c38c | 2014-02-28 18:04:01 -0800 | [diff] [blame] | 74 | include $(LOCAL_PATH)/android-webrtc.mk |
Przemyslaw Szczepaniak | 5d8e19e | 2013-02-04 18:00:41 +0000 | [diff] [blame] | 75 | |
| 76 | LOCAL_ARM_MODE := arm |
| 77 | LOCAL_MODULE := libwebrtc_audio_coding_gnustl_static |
| 78 | LOCAL_MODULE_TAGS := optional |
| 79 | |
| 80 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 81 | libwebrtc_isac_gnustl_static \ |
| 82 | libwebrtc_isacfix_gnustl_static \ |
| 83 | libwebrtc_spl_gnustl_static \ |
| 84 | libwebrtc_system_wrappers_gnustl_static |
| 85 | ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) |
Ying Wang | 9fb5517 | 2014-03-10 18:16:38 -0700 | [diff] [blame] | 86 | LOCAL_WHOLE_STATIC_LIBRARIES_arm += \ |
Przemyslaw Szczepaniak | 5d8e19e | 2013-02-04 18:00:41 +0000 | [diff] [blame] | 87 | libwebrtc_isacfix_neon_gnustl_static |
| 88 | endif |
| 89 | |
| 90 | LOCAL_STATIC_LIBRARIES := \ |
Jeff Davidson | 9a2fe42 | 2014-09-15 18:12:34 -0700 | [diff] [blame] | 91 | libprotobuf-cpp-lite |
Przemyslaw Szczepaniak | 5d8e19e | 2013-02-04 18:00:41 +0000 | [diff] [blame] | 92 | LOCAL_SHARED_LIBRARIES := \ |
| 93 | libcutils \ |
| 94 | libdl |
| 95 | |
Przemyslaw Szczepaniak | 5d8e19e | 2013-02-04 18:00:41 +0000 | [diff] [blame] | 96 | |
| 97 | LOCAL_NDK_STL_VARIANT := gnustl_static |
| 98 | LOCAL_SDK_VERSION := 14 |
| 99 | |
| 100 | include $(BUILD_STATIC_LIBRARY) |
Ying Wang | 789c38c | 2014-02-28 18:04:01 -0800 | [diff] [blame] | 101 | |
| 102 | webrtc_path := $(LOCAL_PATH) |
| 103 | # voice |
| 104 | include $(webrtc_path)/src/common_audio/resampler/Android.mk |
| 105 | include $(webrtc_path)/src/common_audio/signal_processing/Android.mk |
| 106 | include $(webrtc_path)/src/common_audio/vad/Android.mk |
Ying Wang | 056a3c3 | 2014-03-13 11:44:57 -0700 | [diff] [blame] | 107 | include $(webrtc_path)/src/modules/audio_coding/codecs/isac/fix/Android.mk |
Ying Wang | 789c38c | 2014-02-28 18:04:01 -0800 | [diff] [blame] | 108 | include $(webrtc_path)/src/modules/audio_coding/codecs/isac/main/source/Android.mk |
| 109 | include $(webrtc_path)/src/modules/audio_processing/aec/Android.mk |
| 110 | include $(webrtc_path)/src/modules/audio_processing/aecm/Android.mk |
| 111 | include $(webrtc_path)/src/modules/audio_processing/agc/Android.mk |
| 112 | include $(webrtc_path)/src/modules/audio_processing/Android.mk |
| 113 | include $(webrtc_path)/src/modules/audio_processing/ns/Android.mk |
| 114 | include $(webrtc_path)/src/modules/audio_processing/utility/Android.mk |
| 115 | #include $(webrtc_path)/src/modules/utility/source/Android.mk |
| 116 | include $(webrtc_path)/src/system_wrappers/source/Android.mk |
| 117 | |
| 118 | # libwebrtc_audio_coding_gnustl_static dependencies |
| 119 | WEBRTC_STL := gnustl_static |
| 120 | include $(webrtc_path)/src/system_wrappers/source/Android.mk |
| 121 | include $(webrtc_path)/src/modules/audio_coding/codecs/isac/main/source/Android.mk |
Ying Wang | 056a3c3 | 2014-03-13 11:44:57 -0700 | [diff] [blame] | 122 | include $(webrtc_path)/src/modules/audio_coding/codecs/isac/fix/Android.mk |
Ying Wang | 789c38c | 2014-02-28 18:04:01 -0800 | [diff] [blame] | 123 | include $(webrtc_path)/src/common_audio/signal_processing/Android.mk |