Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
6005778e
Commit
6005778e
authored
10 years ago
by
Alexandre Lision
Browse files
Options
Downloads
Patches
Plain Diff
Add build flags and run make-swig from script
parent
0e03a4b4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compile.sh
+5
-11
5 additions, 11 deletions
compile.sh
configure.sh
+1
-0
1 addition, 0 deletions
configure.sh
with
6 additions
and
11 deletions
compile.sh
+
5
−
11
View file @
6005778e
...
...
@@ -96,7 +96,7 @@ ANDROID_PATH="`pwd`"
if
[
!
-z
"
$FETCH
"
]
then
# 1/ libsflphone
TESTED_HASH
=
7104605dd2e7739a1973cee3bbb0fffcfd360bbd
TESTED_HASH
=
00bf4e25091e03ced364b626e64bd92df038ab82
if
[
!
-d
"sflphone"
]
;
then
echo
"sflphone daemon source not found, cloning"
git clone https://gerrit-sflphone.savoirfairelinux.com/sflphone
...
...
@@ -166,9 +166,9 @@ else
fi
EXTRA_CFLAGS
=
"
${
EXTRA_CFLAGS
}
-O2"
EXTRA_CFLAGS
=
"
${
EXTRA_CFLAGS
}
-I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++
${
CXXSTL
}
/include"
EXTRA_CFLAGS
=
"
${
EXTRA_CFLAGS
}
-I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++
${
CXXSTL
}
/libs/
${
ANDROID_ABI
}
/include"
CXXFLAGS
=
"
${
CXXFLAGS
}
-I/home/alision/sflphone-android/sflphone-android/jni"
# Make in //
UNAMES
=
$(
uname
-s
)
...
...
@@ -181,15 +181,6 @@ then
MAKEFLAGS
=
-j
`
sysctl
-n
machdep.cpu.thread_count
`
fi
# Build buildsystem tools
#export PATH=`pwd`/extras/tools/build/bin:$PATH
#echo "Building tools"
#cd contrib
#mkdir native && cd native
#../bootstrap
#make $MAKEFLAGS
#cd ../..
############
# Contribs #
############
...
...
@@ -250,6 +241,9 @@ else
echo
"Bootstraping"
cd
../../../
echo
$PWD
cd
sflphone-android
./make-swig.sh
cd
..
./configure.sh
--with-opensl
--without-dbus
cd
sflphone/daemon
echo
"Building"
...
...
This diff is collapsed.
Click to expand it.
configure.sh
+
1
−
0
View file @
6005778e
...
...
@@ -31,6 +31,7 @@ fi
CPPFLAGS
=
"-I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++
${
CXXSTL
}
/include -I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++
${
CXXSTL
}
/libs/
${
ANDROID_ABI
}
/include"
LDFLAGS
=
"
$LDFLAGS
-L
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++
${
CXXSTL
}
/libs/
${
ANDROID_ABI
}
"
EXTRA_LDFLAGS+
=
"
$LDFLAGS
-lgnustl_static"
SYSROOT
=
$ANDROID_NDK
/platforms/
$ANDROID_API
/arch-
$PLATFORM_SHORT_ARCH
ANDROID_BIN
=
`
echo
$ANDROID_NDK
/toolchains/
${
PATH_HOST
}
-
${
GCCVER
}
/prebuilt/
\`
uname
|tr A-Z a-z
\`
-
*
/bin/
`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment