Alexandre Lision | 7404bfa | 2013-11-01 11:09:05 -0400 | [diff] [blame] | 1 | #!/bin/bash |
Alexandre Savard | a4f33d7 | 2012-08-29 17:03:23 -0400 | [diff] [blame] | 2 | # |
Alexandre Lision | 7404bfa | 2013-11-01 11:09:05 -0400 | [diff] [blame] | 3 | # Copyright (C) 2004-2013 Savoir-Faire Linux Inc. |
Alexandre Savard | a4f33d7 | 2012-08-29 17:03:23 -0400 | [diff] [blame] | 4 | # |
Alexandre Lision | 7404bfa | 2013-11-01 11:09:05 -0400 | [diff] [blame] | 5 | # Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com> |
Alexandre Savard | a4f33d7 | 2012-08-29 17:03:23 -0400 | [diff] [blame] | 6 | # |
| 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 Lision | 7404bfa | 2013-11-01 11:09:05 -0400 | [diff] [blame] | 35 | cd jni/ |
| 36 | ndk-build -j4 |
| 37 | cd .. |
Alexandre Savard | a4f33d7 | 2012-08-29 17:03:23 -0400 | [diff] [blame] | 38 | |
Alexandre Lision | 7404bfa | 2013-11-01 11:09:05 -0400 | [diff] [blame] | 39 | $ANT_HOME clean |
| 40 | $ANT_HOME debug |
Alexandre Savard | a4f33d7 | 2012-08-29 17:03:23 -0400 | [diff] [blame] | 41 | |
Alexandre Lision | 7404bfa | 2013-11-01 11:09:05 -0400 | [diff] [blame] | 42 | adb install -r bin/SFLphone-debug.apk |
Alexandre Savard | a4f33d7 | 2012-08-29 17:03:23 -0400 | [diff] [blame] | 43 | |
Alexandre Lision | 7404bfa | 2013-11-01 11:09:05 -0400 | [diff] [blame] | 44 | adb shell am start -n org.sflphone/org.sflphone.client.SFLPhoneHomeActivity |