This website works better with JavaScript.
Home
Help
Register
Sign In
pEp.foundation
/
pEpJNIAdapter
Watch
13
Star
1
Fork
3
Code
Issues
Pull Requests
1
Releases
71
Activity
Browse Source
JNI-81: Add missing files
JNI-88
Hussein Kasem
3 years ago
parent
7bae3ce2dd
commit
31ef7bc0af
2 changed files
with
33 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+16
-0
android/external/Makefile.conf
+17
-0
android/external/configure_openssl.sh
+ 16
- 0
android/external/Makefile.conf
View File
@ -0,0 +1,16 @@
# TODO: Tiddy up
### Android NDK Common conf
NDK_TOOLCHAIN_COMPILER
?=
clang
### Select GNU SED on MacOS.
NDK_UNAME
:=
$(
shell uname -s
|
tr
'[A-Z]'
'[a-z]'
)
i
f
e
q
(
$(
NDK_UNAME
)
,
d
a
r
w
i
n
)
SED
=
gsed
e
l
s
e
SED
=
sed
e
n
d
i
f
###
+ 17
- 0
android/external/configure_openssl.sh
View File
@ -0,0 +1,17 @@
#!/bin/bash
###
# DONT USE IT
###
CC
=
clang
TOOLCHAINS_PATH
=
$(
python ../../../../utils/ndk_toolchains_path.py --ndk
${
ANDROID_NDK
}
)
export
OLD_PATH
=
$PATH
export
PATH
=
$TOOLCHAINS_PATH
/bin:
$PATH
ARCHITECTURE
=
$1
ANDROID_API
=
$2
echo
$3
./Configure
${
ARCHITECTURE
}
-D__ANDROID_API__
=
$ANDROID_API
--prefix
=
$3
export
PATH
=
$OLD_PATH
Write
Preview
Loading…
Cancel
Save