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

Conversation

@krocard
Copy link
Contributor

@krocard krocard commented Jun 9, 2015

The Parameter Framework has recently removed (this trick was not working on osx) its *_include libraries that were used to include headers without linking against the libraries in the android build system.

There are two ways to include library headers:

  • copy the headers (but that would be in contradiction with how the main pfw headers are included)
  • link against the library (chosen solution)

In order for the plugins to avoid linking against a static
libxmlserializer - ie add it and its dependency to all plugins -
the xmlserializer library is now dynamic.

The alsa and filesystem plugins are also updated.

@krocard krocard force-pushed the remove_include_library_trick branch from 6f364e0 to ee608b8 Compare June 9, 2015 19:17
@krocard
Copy link
Contributor Author

krocard commented Jun 9, 2015

@OznOg @dawagner 👍 Please review this pull request and the 2 attached.

@krocard krocard added this to the Version 2.6.0 milestone Jun 10, 2015
@OznOg
Copy link
Contributor

OznOg commented Jun 10, 2015

👍

@dawagner
Copy link
Contributor

Same commit message comment.

Please check that it is compiling on a android nexus lunch target (or - easier - for the arm emulator): I've noted differences between arm and x86 linking phase in the past.

The Paramter Framework has recently removed its *_include libraries
(this trick was not working on osx). They were used to include headers
without linking against the libraries in the android build system.

There are two ways to include library headers:
 - copy the headers (but that would be in contradiction with how the main pfw headers are included)
 - link against the library (chosen solution)

In order for the plugins to avoid linking against a static
libxmlserializer - ie add it and it's dependency to all plugins -
the xmlserializer library is now dynamic.

Change-Id: I79feb434c7b44ad4473d62276efc3c4b77928894
@krocard krocard force-pushed the remove_include_library_trick branch from ee608b8 to 9e69aed Compare June 10, 2015 09:33
krocard added a commit that referenced this pull request Jun 10, 2015
Android: Make libxmserializer dynamic

The Parameter Framework has recently removed (this trick was not working on osx) its *_include libraries that were used to include headers without linking against the libraries in the android build system.

There are two ways to include library headers:
 - copy the headers (but that would be in contradiction with how the main pfw headers are included)
 - link against the library (chosen solution)

In order for the plugins to avoid linking against a static
libxmlserializer - ie add it and its dependency to all plugins -
the xmlserializer library is now dynamic.
@krocard krocard merged commit ef58e3b into intel:master Jun 10, 2015
@krocard krocard deleted the remove_include_library_trick branch June 10, 2015 13:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants