Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 13be58c

Browse files
committed
Merge pull request #15 from 01org/remove_include_library_trick
Link to shared library xmlSerializer The Parameter Framework has recently removed (this trick was not working on osx) its *_include libraries. They were used to include headers without linking against the libraries in the android build system. There is two way to include headers from a library: - copy the headers (but that would be in contradiction with how the main pfw headers are included) - link against the library (chosen solution) To avoid linking against a static libxmlserializer - ie add it and its dependency to all plugins - the xmlserializer library is now dynamic. Link against the dynamic library xmlserializer and no longer use *_include.
2 parents a9ddec0 + 1bf2252 commit 13be58c

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

base/Android.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ LOCAL_SRC_FILES := \
3737
AlsaCtlPortConfig.cpp \
3838
AmixerControl.cpp \
3939

40-
LOCAL_STATIC_LIBRARIES := \
41-
libparameter_includes \
42-
libxmlserializer_includes \
40+
LOCAL_SHARED_LIBRARIES := \
41+
libparameter \
42+
libxmlserializer
4343

4444
LOCAL_CFLAGS := \
4545
-Wall \

legacy/Android.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
4848
LOCAL_SHARED_LIBRARIES := \
4949
libparameter \
5050
libasound \
51+
libxmlserializer \
5152

5253
LOCAL_STATIC_LIBRARIES := \
5354
libalsabase-subsystem \
54-
libparameter_includes \
55-
libxmlserializer_includes \
5655

5756
# -D_POSIX_C_SOURCE=200809 is needed because alsa-lib is redefining
5857
# the timeval and timespec structures

tinyalsa/Android.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
4747
LOCAL_SHARED_LIBRARIES := \
4848
libparameter \
4949
libtinyalsa \
50+
libxmlserializer \
5051

5152
LOCAL_STATIC_LIBRARIES := \
5253
libalsabase-subsystem \
53-
libparameter_includes \
54-
libxmlserializer_includes \
5554

5655
LOCAL_CFLAGS += \
5756
-Wall \

0 commit comments

Comments
 (0)