[Libva] [android-build 0/3] Build libva for Android Jelly-Bean

Daniel Charles daniel.charles at intel.com
Fri Aug 17 09:50:17 PDT 2012


This set fixes compilation errors for libva on Android only.

The first patch re-defines LOG_TAG for each compiled LOCAL_MODULE to make the
logs more readable in the Android context.

The second patch fixes the libva build to include the Surface dependencies
based on the Android version.  To tackle this a rename on the version selector
was included so that it doesn't refer to the logs only.

The third patch fixes the same as the second patch but for the tests so that
they can be built on Android.

These changes should *not* change behavior on the normal linux build. 

The set was tested on Android Jelly-Bean

Reported-by: Sean V Kelley <sean.v.kelley at intel.com>
Reported-by: Daniel Leung <daniel.leung at intel.com>
Tested-by: Daniel Charles <daniel.charles at intel.com>


Daniel Charles (3):
  android: rename the LOG_TAG per module
  android: fix build for Android Jelly-Bean
  android-test: compile tests for all android versions

 Android.mk                             |   14 ++++++++++++++
 test/basic/Android.mk                  |   22 +++++++++++-----------
 test/common/va_display_android.cpp     |    7 +++++++
 test/decode/Android.mk                 |    2 +-
 test/encode/Android.mk                 |    6 +++---
 test/encode/h264encode_android.cpp     |    7 +++++++
 test/putsurface/Android.mk             |    4 ++--
 test/putsurface/putsurface_android.cpp |    7 +++++++
 test/transcode/mpeg2transcode.cpp      |    7 +++++++
 va/Android.mk                          |   26 +++++++++-----------------
 va/sysdeps.h                           |    5 ++---
 va/va_android.h                        |    4 ++++
 12 files changed, 74 insertions(+), 37 deletions(-)

-- 
1.7.7.6



More information about the Libva mailing list