Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
043f9122
Commit
043f9122
authored
Apr 10, 2013
by
Yann Diorcet
Browse files
Use static lib for xml2lpc and lpc2xml
parent
f4971473
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
build/android/common.mk
build/android/common.mk
+5
-0
build/android/lpc2xml.mk
build/android/lpc2xml.mk
+4
-4
build/android/xml2lpc.mk
build/android/xml2lpc.mk
+4
-4
java/impl/org/linphone/tools/Lpc2Xml.java
java/impl/org/linphone/tools/Lpc2Xml.java
+1
-1
java/impl/org/linphone/tools/Xml2Lpc.java
java/impl/org/linphone/tools/Xml2Lpc.java
+1
-1
No files found.
build/android/common.mk
View file @
043f9122
...
@@ -95,6 +95,11 @@ LOCAL_STATIC_LIBRARIES := \
...
@@ -95,6 +95,11 @@ LOCAL_STATIC_LIBRARIES := \
libeXosip2
\
libeXosip2
\
libosip2
\
libosip2
\
libgsm
libgsm
ifeq
($(BUILD_REMOTE_PROVISIONING),1)
LOCAL_STATIC_LIBRARIES
+=
\
libxml2lpc
\
liblpc2xml
endif
ifeq
($(BUILD_TUNNEL),1)
ifeq
($(BUILD_TUNNEL),1)
LOCAL_CFLAGS
+=
-DTUNNEL_ENABLED
LOCAL_CFLAGS
+=
-DTUNNEL_ENABLED
...
...
build/android/lpc2xml.mk
View file @
043f9122
...
@@ -39,10 +39,10 @@ LOCAL_C_INCLUDES = \
...
@@ -39,10 +39,10 @@ LOCAL_C_INCLUDES = \
$(LOCAL_PATH)
/../../externals/build/libxml2
\
$(LOCAL_PATH)
/../../externals/build/libxml2
\
LOCAL_SHARED_LIBRARIES
=
\
LOCAL_SHARED_LIBRARIES
=
\
libxml2
\
libxml2
liblinphonenoneon
\
#
liblinphonenoneon \
liblinphone
\
#
liblinphone \
LOCAL_MODULE
:=
liblpc2xml
LOCAL_MODULE
:=
liblpc2xml
include
$(BUILD_S
HARED
_LIBRARY)
include
$(BUILD_S
TATIC
_LIBRARY)
build/android/xml2lpc.mk
View file @
043f9122
...
@@ -39,10 +39,10 @@ LOCAL_C_INCLUDES = \
...
@@ -39,10 +39,10 @@ LOCAL_C_INCLUDES = \
$(LOCAL_PATH)
/../../externals/build/libxml2
\
$(LOCAL_PATH)
/../../externals/build/libxml2
\
LOCAL_SHARED_LIBRARIES
=
\
LOCAL_SHARED_LIBRARIES
=
\
libxml2
\
libxml2
liblinphonenoneon
\
#
liblinphonenoneon \
liblinphone
\
#
liblinphone \
LOCAL_MODULE
:=
libxml2lpc
LOCAL_MODULE
:=
libxml2lpc
include
$(BUILD_S
HARED
_LIBRARY)
include
$(BUILD_S
TATIC
_LIBRARY)
java/impl/org/linphone/tools/Lpc2Xml.java
View file @
043f9122
...
@@ -59,7 +59,7 @@ public class Lpc2Xml {
...
@@ -59,7 +59,7 @@ public class Lpc2Xml {
static
{
static
{
try
{
try
{
System
.
loadLibrary
(
"xml2"
);
System
.
loadLibrary
(
"xml2"
);
System
.
loadLibrary
(
"lpc2xml"
);
//
System.loadLibrary("lpc2xml");
mAvailable
=
true
;
mAvailable
=
true
;
}
catch
(
Throwable
e
)
{
}
catch
(
Throwable
e
)
{
mAvailable
=
false
;
mAvailable
=
false
;
...
...
java/impl/org/linphone/tools/Xml2Lpc.java
View file @
043f9122
...
@@ -63,7 +63,7 @@ public class Xml2Lpc {
...
@@ -63,7 +63,7 @@ public class Xml2Lpc {
static
{
static
{
try
{
try
{
System
.
loadLibrary
(
"xml2"
);
System
.
loadLibrary
(
"xml2"
);
System
.
loadLibrary
(
"xml2lpc"
);
//
System.loadLibrary("xml2lpc");
mAvailable
=
true
;
mAvailable
=
true
;
}
catch
(
Throwable
e
)
{
}
catch
(
Throwable
e
)
{
mAvailable
=
false
;
mAvailable
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment