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 |
leozwang@webrtc.org | 84ba606 | 2012-01-09 17:38:50 +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 |
| 15 | #include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/neteq/Android.mk |
| 16 | #include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/cng/Android.mk |
| 17 | #include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/g711/Android.mk |
| 18 | #include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/g722/Android.mk |
| 19 | #include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/pcm16b/Android.mk |
| 20 | #include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/ilbc/Android.mk |
| 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 |
| 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 |
| 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@webrtc.org | 84ba606 | 2012-01-09 17:38:50 +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 |
| 42 | #include $(MY_WEBRTC_ROOT_PATH)/src/common_video/libyuv/Android.mk |
| 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 |
| 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. |
kma@webrtc.org | 746f9e3 | 2012-01-04 17:47:57 +0000 | [diff] [blame] | 77 | ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) |
kma@webrtc.org | b59c031 | 2011-12-03 18:34:50 +0000 | [diff] [blame] | 78 | LOCAL_WHOLE_STATIC_LIBRARIES += \ |
| 79 | libwebrtc_aecm_neon \ |
| 80 | libwebrtc_ns_neon |
| 81 | endif |
| 82 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 83 | LOCAL_STATIC_LIBRARIES := \ |
| 84 | libprotobuf-cpp-2.3.0-lite |
| 85 | |
| 86 | LOCAL_SHARED_LIBRARIES := \ |
| 87 | libcutils \ |
| 88 | libdl \ |
| 89 | libstlport |
| 90 | |
| 91 | LOCAL_PRELINK_MODULE := false |
| 92 | |
| 93 | ifndef NDK_ROOT |
| 94 | include external/stlport/libstlport.mk |
| 95 | endif |
leozwang@webrtc.org | e1fe433 | 2012-01-10 16:14:36 +0000 | [diff] [blame] | 96 | #include $(BUILD_SHARED_LIBRARY) |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 97 | |
| 98 | ### |
| 99 | |
| 100 | LOCAL_PATH := $(call my-dir) |
| 101 | |
| 102 | include $(CLEAR_VARS) |
| 103 | |
| 104 | LOCAL_ARM_MODE := arm |
| 105 | LOCAL_MODULE := libwebrtc |
| 106 | LOCAL_MODULE_TAGS := optional |
| 107 | |
| 108 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 109 | libwebrtc_system_wrappers \ |
| 110 | libwebrtc_audio_device \ |
| 111 | libwebrtc_pcm16b \ |
| 112 | libwebrtc_cng \ |
| 113 | libwebrtc_audio_coding \ |
| 114 | libwebrtc_rtp_rtcp \ |
| 115 | libwebrtc_media_file \ |
| 116 | libwebrtc_udp_transport \ |
| 117 | libwebrtc_utility \ |
| 118 | libwebrtc_neteq \ |
| 119 | libwebrtc_audio_conference_mixer \ |
| 120 | libwebrtc_isac \ |
| 121 | libwebrtc_ilbc \ |
| 122 | libwebrtc_isacfix \ |
| 123 | libwebrtc_g722 \ |
| 124 | libwebrtc_g711 \ |
| 125 | libwebrtc_voe_core \ |
| 126 | libwebrtc_video_render \ |
| 127 | libwebrtc_video_capture \ |
| 128 | libwebrtc_i420 \ |
| 129 | libwebrtc_video_coding \ |
| 130 | libwebrtc_video_processing \ |
| 131 | libwebrtc_vp8 \ |
| 132 | libwebrtc_vie_core \ |
leozwang@webrtc.org | 69eccc0 | 2011-12-14 23:24:10 +0000 | [diff] [blame] | 133 | libwebrtc_yuv \ |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 134 | libwebrtc_jpeg \ |
| 135 | libwebrtc_vpx |
| 136 | |
kma@webrtc.org | f0a964d | 2011-12-14 18:59:43 +0000 | [diff] [blame] | 137 | # Add Neon libraries. |
kma@webrtc.org | 746f9e3 | 2012-01-04 17:47:57 +0000 | [diff] [blame] | 138 | ifeq ($(WEBRTC_BUILD_NEON_LIBS),true) |
kma@webrtc.org | f0a964d | 2011-12-14 18:59:43 +0000 | [diff] [blame] | 139 | LOCAL_WHOLE_STATIC_LIBRARIES += \ |
| 140 | libwebrtc_isacfix_neon |
| 141 | endif |
| 142 | |
leozwang@webrtc.org | 69eccc0 | 2011-12-14 23:24:10 +0000 | [diff] [blame] | 143 | LOCAL_STATIC_LIBRARIES := \ |
| 144 | libyuv_static |
| 145 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 146 | LOCAL_SHARED_LIBRARIES := \ |
| 147 | libcutils \ |
| 148 | libdl \ |
| 149 | libstlport \ |
| 150 | libjpeg \ |
| 151 | libGLESv2 \ |
| 152 | libOpenSLES \ |
| 153 | libwebrtc_audio_preprocessing |
| 154 | |
| 155 | LOCAL_PRELINK_MODULE := false |
| 156 | |
| 157 | ifndef NDK_ROOT |
| 158 | include external/stlport/libstlport.mk |
| 159 | endif |
leozwang@webrtc.org | 84ba606 | 2012-01-09 17:38:50 +0000 | [diff] [blame] | 160 | #include $(BUILD_SHARED_LIBRARY) |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 161 | |
leozwang@google.com | a39ffa9 | 2011-07-25 21:28:22 +0000 | [diff] [blame] | 162 | # 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] | 163 | # voice engine test apps |
leozwang@webrtc.org | 84ba606 | 2012-01-09 17:38:50 +0000 | [diff] [blame] | 164 | #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] | 165 | #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] | 166 | # video engien test apps |
leozwang@webrtc.org | 84ba606 | 2012-01-09 17:38:50 +0000 | [diff] [blame] | 167 | #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] | 168 | #include $(MY_WEBRTC_ROOT_PATH)/src/video_engine/test/auto_test/android/Android.mk |