Alexandre Lision | fed2a64 | 2014-01-10 12:05:47 -0500 | [diff] [blame] | 1 | # 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 Lision | 907ed2e | 2014-02-04 10:33:09 -0500 | [diff] [blame] | 31 | BASE_PJSIP_FLAGS := -DPJ_ANDROID=1 |
| 32 | # about codecs |
| 33 | BASE_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 |
| 41 | BASE_PJSIP_FLAGS += -DPJ_HAS_SSL_SOCK=1 -DPJMEDIA_HAS_ZRTP=1 |
| 42 | |
Adrien Béraud | ec0ddfe | 2013-09-19 04:06:14 +1000 | [diff] [blame] | 43 | NDK_TOOLCHAIN_VERSION := 4.8 |
| 44 | |
| 45 | APP_PLATFORM := android-14 |
Emeric Vigier | af34031 | 2012-08-22 11:38:01 -0400 | [diff] [blame] | 46 | APP_OPTIM := debug |
Adrien Béraud | ec0ddfe | 2013-09-19 04:06:14 +1000 | [diff] [blame] | 47 | APP_STL := gnustl_shared |
Alexandre Lision | 17b60c3 | 2014-02-03 14:37:59 -0500 | [diff] [blame] | 48 | APP_ABI = armeabi-v7a x86 |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 49 | |
Alexandre Lision | 907ed2e | 2014-02-04 10:33:09 -0500 | [diff] [blame] | 50 | |
Adrien Béraud | 4f51838 | 2013-04-18 16:51:59 +1000 | [diff] [blame] | 51 | APP_MODULES += libcodec_ulaw |
| 52 | APP_MODULES += libcodec_alaw |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 53 | APP_MODULES += libcodec_g722 |
Alexandre Lision | 744f742 | 2013-09-25 11:39:37 -0400 | [diff] [blame] | 54 | APP_MODULES += libcodec_opus |
Alexandre Lision | a1ad1c3 | 2013-10-15 16:35:20 -0400 | [diff] [blame] | 55 | APP_MODULES += libcodec_gsm |
Alexandre Lision | 6213817 | 2013-10-17 11:52:45 -0400 | [diff] [blame] | 56 | APP_MODULES += libcodec_speex_nb |
| 57 | APP_MODULES += libcodec_speex_ub |
| 58 | APP_MODULES += libcodec_speex_wb |
Emeric Vigier | 4bcc15d | 2012-08-16 18:38:40 -0400 | [diff] [blame] | 59 | APP_MODULES += libsflphone |