blob: fed84e1fffc6b2c57596be0f0e883bb15126f782 [file] [log] [blame]
Alexandre Lisionfed2a642014-01-10 12:05:47 -05001# Copyright (C) 2004-2014 Savoir-Faire Linux Inc.
2 #
3 # Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
4 # Adrien Beraud <adrien.beraud@gmail.com>
5 #
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Additional permission under GNU GPL version 3 section 7:
20 #
21 # If you modify this program, or any covered work, by linking or
22 # combining it with the OpenSSL project's OpenSSL library (or a
23 # modified version of that library), containing parts covered by the
24 # terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
25 # grants you additional permission to convey the resulting work.
26 # Corresponding Source for a non-source form of such a combination
27 # shall include the source code for the parts of OpenSSL used as well
28 # as that of the covered work.
29
30
Alexandre Lision907ed2e2014-02-04 10:33:09 -050031BASE_PJSIP_FLAGS := -DPJ_ANDROID=1
32# about codecs
33BASE_PJSIP_FLAGS += -DPJMEDIA_HAS_G729_CODEC=0 -DPJMEDIA_HAS_G726_CODEC=0 \
34 -DPJMEDIA_HAS_ILBC_CODEC=0 -DPJMEDIA_HAS_G722_CODEC=0 \
35 -DPJMEDIA_HAS_SPEEX_CODEC=0 -DPJMEDIA_HAS_GSM_CODEC=0 \
36 -DPJMEDIA_HAS_SILK_CODEC=0 -DPJMEDIA_HAS_CODEC2_CODEC=0 \
37 -DPJMEDIA_HAS_G7221_CODEC=0 -DPJMEDIA_HAS_WEBRTC_CODEC=0 \
38 -DPJMEDIA_HAS_OPUS_CODEC=0
39
40# TLS ZRTP
41BASE_PJSIP_FLAGS += -DPJ_HAS_SSL_SOCK=1 -DPJMEDIA_HAS_ZRTP=1
42
Adrien Béraudec0ddfe2013-09-19 04:06:14 +100043NDK_TOOLCHAIN_VERSION := 4.8
44
45APP_PLATFORM := android-14
Emeric Vigieraf340312012-08-22 11:38:01 -040046APP_OPTIM := debug
Alexandre Lisiona2f60ac2014-03-31 09:58:32 -040047NDK_DEBUG := 1
Adrien Béraudec0ddfe2013-09-19 04:06:14 +100048APP_STL := gnustl_shared
Alexandre Lisiona2f60ac2014-03-31 09:58:32 -040049APP_ABI := armeabi-v7a x86
Emeric Vigier2f625822012-08-06 11:09:52 -040050
Alexandre Lision907ed2e2014-02-04 10:33:09 -050051
Adrien Béraud4f518382013-04-18 16:51:59 +100052APP_MODULES += libcodec_ulaw
53APP_MODULES += libcodec_alaw
alisiond295ec22013-05-17 10:12:13 -040054APP_MODULES += libcodec_g722
Alexandre Lision744f7422013-09-25 11:39:37 -040055APP_MODULES += libcodec_opus
Alexandre Lisiona1ad1c32013-10-15 16:35:20 -040056APP_MODULES += libcodec_gsm
Alexandre Lision62138172013-10-17 11:52:45 -040057APP_MODULES += libcodec_speex_nb
58APP_MODULES += libcodec_speex_ub
59APP_MODULES += libcodec_speex_wb
Emeric Vigier4bcc15d2012-08-16 18:38:40 -040060APP_MODULES += libsflphone