blob: 57bce2f00b341decf9b816d6f8e237ea9b2c0dda [file] [log] [blame]
niklase@google.comda159d62011-05-30 11:51:34 +00001# 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
9MY_WEBRTC_ROOT_PATH := $(call my-dir)
10
11# voice
leozwang@google.comf97b6802011-07-13 17:49:49 +000012include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/resampler/main/source/Android.mk
13include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/signal_processing_library/main/source/Android.mk
14include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/vad/main/source/Android.mk
15include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/NetEQ/main/source/Android.mk
16include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/CNG/main/source/Android.mk
17include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/G711/main/source/Android.mk
18include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/G722/main/source/Android.mk
19include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/PCM16B/main/source/Android.mk
20include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/iLBC/main/source/Android.mk
21include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/iSAC/fix/source/Android.mk
22include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/iSAC/main/source/Android.mk
23include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/main/source/Android.mk
24include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_conference_mixer/source/Android.mk
25include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_device/main/source/Android.mk
andrew@webrtc.org4d5d5c12011-10-19 01:40:33 +000026include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aec/Android.mk
27include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aecm/Android.mk
28include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/agc/Android.mk
29include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/Android.mk
30include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/ns/Android.mk
leozwang@google.comf97b6802011-07-13 17:49:49 +000031include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/utility/Android.mk
32include $(MY_WEBRTC_ROOT_PATH)/src/modules/media_file/source/Android.mk
33include $(MY_WEBRTC_ROOT_PATH)/src/modules/rtp_rtcp/source/Android.mk
34include $(MY_WEBRTC_ROOT_PATH)/src/modules/udp_transport/source/Android.mk
35include $(MY_WEBRTC_ROOT_PATH)/src/modules/utility/source/Android.mk
36include $(MY_WEBRTC_ROOT_PATH)/src/system_wrappers/source/Android.mk
37include $(MY_WEBRTC_ROOT_PATH)/src/voice_engine/main/source/Android.mk
niklase@google.comda159d62011-05-30 11:51:34 +000038
39# video
leozwang@google.comf97b6802011-07-13 17:49:49 +000040include $(MY_WEBRTC_ROOT_PATH)/src/common_video/jpeg/main/source/Android.mk
41include $(MY_WEBRTC_ROOT_PATH)/src/common_video/vplib/main/source/Android.mk
42include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_capture/main/source/Android.mk
43include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_coding/codecs/i420/main/source/Android.mk
44include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_coding/codecs/vp8/main/source/Android.mk
45include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_coding/main/source/Android.mk
46include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_processing/main/source/Android.mk
47include $(MY_WEBRTC_ROOT_PATH)/src/modules/video_render/main/source/Android.mk
48include $(MY_WEBRTC_ROOT_PATH)/src/video_engine/main/source/Android.mk
niklase@google.comda159d62011-05-30 11:51:34 +000049
50# third party
niklase@google.comda159d62011-05-30 11:51:34 +000051include $(MY_WEBRTC_ROOT_PATH)/libvpx.mk
52
53# build .so
leozwang@google.com79835d12011-08-05 21:01:02 +000054LOCAL_PATH := $(call my-dir)
55
56include $(CLEAR_VARS)
57
58LOCAL_ARM_MODE := arm
59LOCAL_MODULE := libwebrtc_audio_preprocessing
60LOCAL_MODULE_TAGS := optional
61
62LOCAL_WHOLE_STATIC_LIBRARIES := \
63 libwebrtc_spl \
64 libwebrtc_resampler \
65 libwebrtc_apm \
66 libwebrtc_apm_utility \
67 libwebrtc_vad \
68 libwebrtc_ns \
69 libwebrtc_agc \
70 libwebrtc_aec \
71 libwebrtc_aecm \
72 libwebrtc_system_wrappers
73
74LOCAL_STATIC_LIBRARIES := \
75 libprotobuf-cpp-2.3.0-lite
76
77LOCAL_SHARED_LIBRARIES := \
78 libcutils \
79 libdl \
80 libstlport
81
82LOCAL_PRELINK_MODULE := false
83
84ifndef NDK_ROOT
85include external/stlport/libstlport.mk
86endif
87include $(BUILD_SHARED_LIBRARY)
88
89###
90
91LOCAL_PATH := $(call my-dir)
92
93include $(CLEAR_VARS)
94
95LOCAL_ARM_MODE := arm
96LOCAL_MODULE := libwebrtc
97LOCAL_MODULE_TAGS := optional
98
99LOCAL_WHOLE_STATIC_LIBRARIES := \
100 libwebrtc_system_wrappers \
101 libwebrtc_audio_device \
102 libwebrtc_pcm16b \
103 libwebrtc_cng \
104 libwebrtc_audio_coding \
105 libwebrtc_rtp_rtcp \
106 libwebrtc_media_file \
107 libwebrtc_udp_transport \
108 libwebrtc_utility \
109 libwebrtc_neteq \
110 libwebrtc_audio_conference_mixer \
111 libwebrtc_isac \
112 libwebrtc_ilbc \
113 libwebrtc_isacfix \
114 libwebrtc_g722 \
115 libwebrtc_g711 \
116 libwebrtc_voe_core \
117 libwebrtc_video_render \
118 libwebrtc_video_capture \
119 libwebrtc_i420 \
120 libwebrtc_video_coding \
121 libwebrtc_video_processing \
122 libwebrtc_vp8 \
123 libwebrtc_vie_core \
124 libwebrtc_vplib \
125 libwebrtc_jpeg \
126 libwebrtc_vpx
127
128LOCAL_SHARED_LIBRARIES := \
129 libcutils \
130 libdl \
131 libstlport \
132 libjpeg \
133 libGLESv2 \
134 libOpenSLES \
135 libwebrtc_audio_preprocessing
136
137LOCAL_PRELINK_MODULE := false
138
139ifndef NDK_ROOT
140include external/stlport/libstlport.mk
141endif
142include $(BUILD_SHARED_LIBRARY)
niklase@google.comda159d62011-05-30 11:51:34 +0000143
leozwang@google.coma39ffa92011-07-25 21:28:22 +0000144# test apps, they're for test only; all these test apps have LOCAL_MODULE_TAGS:=tests
leozwang@google.coma39ffa92011-07-25 21:28:22 +0000145# voice engine test apps
leozwang@google.com79835d12011-08-05 21:01:02 +0000146include $(MY_WEBRTC_ROOT_PATH)/src/voice_engine/main/test/cmd_test/Android.mk
147include $(MY_WEBRTC_ROOT_PATH)/src/voice_engine/main/test/auto_test/Android.mk
leozwang@google.coma39ffa92011-07-25 21:28:22 +0000148# video engien test apps
leozwang@google.com79835d12011-08-05 21:01:02 +0000149include $(MY_WEBRTC_ROOT_PATH)/src/video_engine/main/test/AutoTest/android/Android.mk
150include $(MY_WEBRTC_ROOT_PATH)/src/video_engine/main/test/android_test/Android.mk