blob: 3a21740864a353beb1a553efd93e6a37d93f6868 [file] [log] [blame]
Alexandre Lision7404bfa2013-11-01 11:09:05 -04001#!/bin/bash
Alexandre Savarda4f33d72012-08-29 17:03:23 -04002#
Alexandre Lision7404bfa2013-11-01 11:09:05 -04003# Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
Alexandre Savarda4f33d72012-08-29 17:03:23 -04004#
Alexandre Lision7404bfa2013-11-01 11:09:05 -04005# Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Alexandre Savarda4f33d72012-08-29 17:03:23 -04006#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20#
21# Additional permission under GNU GPL version 3 section 7:
22#
23# If you modify this program, or any covered work, by linking or
24# combining it with the OpenSSL project's OpenSSL library (or a
25# modified version of that library), containing parts covered by the
26# terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
27# grants you additional permission to convey the resulting work.
28# Corresponding Source for a non-source form of such a combination
29# shall include the source code for the parts of OpenSSL used as well
30# as that of the covered work.
31#
32
33# Meant to be run on the target platform using adb shell
34
Alexandre Lision7404bfa2013-11-01 11:09:05 -040035cd jni/
36ndk-build -j4
37cd ..
Alexandre Savarda4f33d72012-08-29 17:03:23 -040038
Alexandre Lision7404bfa2013-11-01 11:09:05 -040039$ANT_HOME clean
40$ANT_HOME debug
Alexandre Savarda4f33d72012-08-29 17:03:23 -040041
Alexandre Lision7404bfa2013-11-01 11:09:05 -040042adb install -r bin/SFLphone-debug.apk
Alexandre Savarda4f33d72012-08-29 17:03:23 -040043
Alexandre Lision7404bfa2013-11-01 11:09:05 -040044adb shell am start -n org.sflphone/org.sflphone.client.SFLPhoneHomeActivity