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. Amended patch to include missing CFLAGS on vainfo as it uses va_display_android.cpp 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.kel...@intel.com> Reported-by: Daniel Leung <daniel.le...@intel.com> Tested-by: Daniel Charles <daniel.char...@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 _______________________________________________ Libva mailing list Libva@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libva