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
1ce1aed2
Commit
1ce1aed2
authored
12 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
#14465: Activate srtp in libccrtp and link with sflphoned
parent
dc7b060b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jni/ccrtp-1.8.0-android/src/Android.mk
+10
-5
10 additions, 5 deletions
jni/ccrtp-1.8.0-android/src/Android.mk
jni/ccrtp-1.8.0-android/src/config.h
+4
-4
4 additions, 4 deletions
jni/ccrtp-1.8.0-android/src/config.h
with
14 additions
and
9 deletions
jni/ccrtp-1.8.0-android/src/Android.mk
+
10
−
5
View file @
1ce1aed2
LOCAL_PATH
:=
$(
call my-dir
)
MY_LOCAL_PATH
:=
$(
call my-dir
)
include
$(call all-subdir-makefiles)
LOCAL_PATH
:=
$(
MY_LOCAL_PATH
)
include
$(CLEAR_VARS)
...
...
@@ -10,19 +14,20 @@ SRTP_GCRYPT =
#LOCAL_CPPFLAGS += -Wno-psabi -frtti -pthread -fexceptions
LOCAL_CPPFLAGS
+=
-std
=
gnu++0x
-fexceptions
LOCAL_C_INCLUDES
+=
$(
LOCAL_PATH
)
/../../commoncpp2-1.8.1-android/inc
LOCAL_C_INCLUDES
+=
$(
LOCAL_PATH
)
/../../commoncpp2-1.8.1-android/inc
\
$(
LOCAL_PATH
)
/../../openssl/include
LOCAL_MODULE
:=
libccrtp1
LOCAL_SHARED_LIBRARIES
:=
libccgnu2
LOCAL_LDLIBS
:=
-L
$(
SYSROOT
)
/usr/lib
\
-L
$(
APP_PROJECT_PATH
)
/obj/local/armeabi
\
-lccgnu2
-lccgnu2
\
-lssl
\
-lcrypto
LOCAL_CPP_EXTENSION
:=
.cxx .cpp
ifneq
($(SRTP_OPENSSL),)
SRTP_SRC_O
=
ccrtp/crypto/openssl/hmac.cpp
\
ccrtp/crypto/openssl/AesSrtp.cxx
\
ccrtp/crypto/openssl/InitializeOpenSSL.cxx
endif
ifneq
($(SRTP_GCRYPT),)
SRTP_SRC_G
=
ccrtp/crypto/gcrypt/gcrypthmac.cxx
\
...
...
This diff is collapsed.
Click to expand it.
jni/ccrtp-1.8.0-android/src/config.h
+
4
−
4
View file @
1ce1aed2
...
...
@@ -20,13 +20,13 @@
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the <openssl/aes.h> header file. */
/* #undef
HAVE_OPENSSL_AES_H
*/
#define
HAVE_OPENSSL_AES_H
1
/* Define to 1 if you have the <openssl/bn.h> header file. */
/* #undef
HAVE_OPENSSL_BN_H
*/
#define
HAVE_OPENSSL_BN_H
1
/* Define to 1 if you have the <openssl/sha.h> header file. */
/* #undef
HAVE_OPENSSL_SHA_H
*/
#define
HAVE_OPENSSL_SHA_H
1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
...
...
@@ -75,7 +75,7 @@
#define PACKAGE_VERSION ""
/* SRTP support */
/* #undef
SRTP_SUPPORT
*/
#define
SRTP_SUPPORT
1
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
...
...
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