niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [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 | |
| 9 | MY_WEBRTC_ROOT_PATH := $(call my-dir) |
| 10 | |
| 11 | # voice |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +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 |
kma@webrtc.org | 9b81351 | 2011-11-07 23:30:01 +0000 | [diff] [blame] | 15 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/neteq/Android.mk |
kjellander@webrtc.org | 64a897a | 2011-11-17 13:33:11 +0000 | [diff] [blame] | 16 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/cng/Android.mk |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 17 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/g711/Android.mk |
kjellander@webrtc.org | 3f1cb8e | 2011-11-17 13:56:54 +0000 | [diff] [blame] | 18 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/g722/Android.mk |
kjellander@webrtc.org | b72268e | 2011-11-17 13:39:15 +0000 | [diff] [blame] | 19 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/pcm16b/Android.mk |
kma@webrtc.org | 9b81351 | 2011-11-07 23:30:01 +0000 | [diff] [blame] | 20 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/ilbc/Android.mk |
leozwang@google.com | f97b680 | 2011-07-13 17:49:49 +0000 | [diff] [blame] | 21 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/iSAC/fix/source/Android.mk |
| 22 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/iSAC/main/source/Android.mk |
| 23 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/main/source/Android.mk |
| 24 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_conference_mixer/source/Android.mk |
| 25 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_device/main/source/Android.mk |
andrew@webrtc.org | 4d5d5c1 | 2011-10-19 01:40:33 +0000 | [diff] [blame] | 26 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aec/Android.mk |
| 27 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aecm/Android.mk |
| 28 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/agc/Android.mk |
| 29 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/Android.mk |
| 30 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/ns/Android.mk |
leozwang@google.com | f97b680 | 2011-07-13 17:49:49 +0000 | [diff] [blame] | 31 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/utility/Android.mk |
| 32 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/media_file/source/Android.mk |
| 33 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/rtp_rtcp/source/Android.mk |
| 34 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/udp_transport/source/Android.mk |
| 35 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/utility/source/Android.mk |
| 36 | include $(MY_WEBRTC_ROOT_PATH)/src/system_wrappers/source/Android.mk |
| 37 | include $(MY_WEBRTC_ROOT_PATH)/src/voice_engine/main/source/Android.mk |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 38 | |
| 39 | # video |
leozwang@google.com | f97b680 | 2011-07-13 17:49:49 +0000 | [diff] [blame] | 40 | include $(MY_WEBRTC_ROOT_PATH)/src/common_video/jpeg/main/source/Android.mk |
| 41 | include $(MY_WEBRTC_ROOT_PATH)/src/common_video/vplib/main/source/Android.mk |
leozwang@webrtc.org | 69eccc0 | 2011-12-14 23:24:10 +0000 | [diff] [blame] | 42 | include $(MY_WEBRTC_ROOT_PATH)/src/common_video/libyuv/Android.mk |
leozwang@google.com | f97b680 | 2011-07-13 17:49:49 +0000 | [diff] [blame] | 43 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_capture/main/source/Android.mk |
| 44 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_coding/codecs/i420/main/source/Android.mk |
| 45 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_coding/codecs/vp8/main/source/Android.mk |
| 46 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_coding/main/source/Android.mk |
| 47 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_processing/main/source/Android.mk |
| 48 | include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_render/main/source/Android.mk |
kjellander@webrtc.org | 480352e | 2011-12-09 15:45:23 +0000 | [diff] [blame] | 49 | include $(MY_WEBRTC_ROOT_PATH)/src/video_engine/Android.mk |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 50 | |
| 51 | # third party |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 52 | include $(MY_WEBRTC_ROOT_PATH)/libvpx.mk |
| 53 | |
| 54 | # build .so |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 55 | LOCAL_PATH := $(call my-dir) |
| 56 | |
| 57 | include $(CLEAR_VARS) |
kma@webrtc.org | b59c031 | 2011-12-03 18:34:50 +0000 | [diff] [blame] | 58 | include $(LOCAL_PATH)/../../external/webrtc/android-webrtc.mk |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 59 | |
| 60 | LOCAL_ARM_MODE := arm |
| 61 | LOCAL_MODULE := libwebrtc_audio_preprocessing |
| 62 | LOCAL_MODULE_TAGS := optional |
| 63 | |
| 64 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 65 | libwebrtc_spl \ |
| 66 | libwebrtc_resampler \ |
| 67 | libwebrtc_apm \ |
| 68 | libwebrtc_apm_utility \ |
| 69 | libwebrtc_vad \ |
| 70 | libwebrtc_ns \ |
| 71 | libwebrtc_agc \ |
| 72 | libwebrtc_aec \ |
| 73 | libwebrtc_aecm \ |
| 74 | libwebrtc_system_wrappers |
| 75 | |
kma@webrtc.org | b59c031 | 2011-12-03 18:34:50 +0000 | [diff] [blame] | 76 | # Add Neon libraries. |
| 77 | ifneq (,$(filter '-DWEBRTC_DETECT_ARM_NEON',$(MY_WEBRTC_COMMON_DEFS))) |
| 78 | LOCAL_WHOLE_STATIC_LIBRARIES += \ |
| 79 | libwebrtc_aecm_neon \ |
| 80 | libwebrtc_ns_neon |
| 81 | else ifeq ($(ARCH_ARM_HAVE_NEON),true) |
| 82 | LOCAL_WHOLE_STATIC_LIBRARIES += \ |
| 83 | libwebrtc_aecm_neon \ |
| 84 | libwebrtc_ns_neon |
| 85 | endif |
| 86 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 87 | LOCAL_STATIC_LIBRARIES := \ |
| 88 | libprotobuf-cpp-2.3.0-lite |
| 89 | |
| 90 | LOCAL_SHARED_LIBRARIES := \ |
| 91 | libcutils \ |
| 92 | libdl \ |
| 93 | libstlport |
| 94 | |
| 95 | LOCAL_PRELINK_MODULE := false |
| 96 | |
| 97 | ifndef NDK_ROOT |
| 98 | include external/stlport/libstlport.mk |
| 99 | endif |
| 100 | include $(BUILD_SHARED_LIBRARY) |
| 101 | |
| 102 | ### |
| 103 | |
| 104 | LOCAL_PATH := $(call my-dir) |
| 105 | |
| 106 | include $(CLEAR_VARS) |
| 107 | |
| 108 | LOCAL_ARM_MODE := arm |
| 109 | LOCAL_MODULE := libwebrtc |
| 110 | LOCAL_MODULE_TAGS := optional |
| 111 | |
| 112 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 113 | libwebrtc_system_wrappers \ |
| 114 | libwebrtc_audio_device \ |
| 115 | libwebrtc_pcm16b \ |
| 116 | libwebrtc_cng \ |
| 117 | libwebrtc_audio_coding \ |
| 118 | libwebrtc_rtp_rtcp \ |
| 119 | libwebrtc_media_file \ |
| 120 | libwebrtc_udp_transport \ |
| 121 | libwebrtc_utility \ |
| 122 | libwebrtc_neteq \ |
| 123 | libwebrtc_audio_conference_mixer \ |
| 124 | libwebrtc_isac \ |
| 125 | libwebrtc_ilbc \ |
| 126 | libwebrtc_isacfix \ |
| 127 | libwebrtc_g722 \ |
| 128 | libwebrtc_g711 \ |
| 129 | libwebrtc_voe_core \ |
| 130 | libwebrtc_video_render \ |
| 131 | libwebrtc_video_capture \ |
| 132 | libwebrtc_i420 \ |
| 133 | libwebrtc_video_coding \ |
| 134 | libwebrtc_video_processing \ |
| 135 | libwebrtc_vp8 \ |
| 136 | libwebrtc_vie_core \ |
leozwang@webrtc.org | 69eccc0 | 2011-12-14 23:24:10 +0000 | [diff] [blame] | 137 | libwebrtc_yuv \ |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 138 | libwebrtc_jpeg \ |
| 139 | libwebrtc_vpx |
| 140 | |
kma@webrtc.org | f0a964d | 2011-12-14 18:59:43 +0000 | [diff] [blame] | 141 | # Add Neon libraries. |
| 142 | ifneq (,$(filter '-DWEBRTC_DETECT_ARM_NEON',$(MY_WEBRTC_COMMON_DEFS))) |
| 143 | LOCAL_WHOLE_STATIC_LIBRARIES += \ |
| 144 | libwebrtc_isacfix_neon |
| 145 | else ifeq ($(ARCH_ARM_HAVE_NEON),true) |
| 146 | LOCAL_WHOLE_STATIC_LIBRARIES += \ |
| 147 | libwebrtc_isacfix_neon |
| 148 | endif |
| 149 | |
leozwang@webrtc.org | 69eccc0 | 2011-12-14 23:24:10 +0000 | [diff] [blame] | 150 | LOCAL_STATIC_LIBRARIES := \ |
| 151 | libyuv_static |
| 152 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 153 | LOCAL_SHARED_LIBRARIES := \ |
| 154 | libcutils \ |
| 155 | libdl \ |
| 156 | libstlport \ |
| 157 | libjpeg \ |
| 158 | libGLESv2 \ |
| 159 | libOpenSLES \ |
| 160 | libwebrtc_audio_preprocessing |
| 161 | |
| 162 | LOCAL_PRELINK_MODULE := false |
| 163 | |
| 164 | ifndef NDK_ROOT |
| 165 | include external/stlport/libstlport.mk |
| 166 | endif |
| 167 | include $(BUILD_SHARED_LIBRARY) |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 168 | |
leozwang@google.com | a39ffa9 | 2011-07-25 21:28:22 +0000 | [diff] [blame] | 169 | # test apps, they're for test only; all these test apps have LOCAL_MODULE_TAGS:=tests |
leozwang@google.com | a39ffa9 | 2011-07-25 21:28:22 +0000 | [diff] [blame] | 170 | # voice engine test apps |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 171 | include $(MY_WEBRTC_ROOT_PATH)/src/voice_engine/main/test/cmd_test/Android.mk |
leozwang@webrtc.org | 69eccc0 | 2011-12-14 23:24:10 +0000 | [diff] [blame] | 172 | #include $(MY_WEBRTC_ROOT_PATH)/src/voice_engine/main/test/auto_test/Android.mk |
leozwang@google.com | a39ffa9 | 2011-07-25 21:28:22 +0000 | [diff] [blame] | 173 | # video engien test apps |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 174 | include $(MY_WEBRTC_ROOT_PATH)/src/video_engine/main/test/android_test/Android.mk |
leozwang@webrtc.org | 69eccc0 | 2011-12-14 23:24:10 +0000 | [diff] [blame] | 175 | #include $(MY_WEBRTC_ROOT_PATH)/src/video_engine/test/auto_test/android/Android.mk |