I am trying to port a 3rd party library to mediaplayerservice to enhance the support for many container formats.
I am able to build the 3rd party stack and get the library (static library) from it.
Now, I want to link this 3rd party library to the MediaPlayerService. I couldn't find out, where and how to mention in the makefile to link this static library.
I tried the adding the following lines,
LOCAL_STATIC_LIBRARIES := libThirdparty
&&
LOCAL_LDLIBS += -l$(TOP)/frameworks/out/target/product/tvsimvbox/obj/STATIC_LIBRARIES/libThirdparty_intermediates/libThirdparty.a
But, above lines are not helping. It gives the "undefined reference" error.