How to add libbinder, liblog and libutils to CMakeLists.txt and use them in native cpp app?

Viewed 457

I saw libbinder, liblog, and libutils in Android.mk as follows:

LOCAL_SHARED_LIBRARIES := liblog libutils libbinder

But my project is using CMakeLists.txt for building. How do I add these shared libraries to my CMakeLists.txt?

Also, are these libraries part of Android NDK and I don't actually need to manually add corresponding .so files to my project? (I am new to it so sorry if this is a silly question)

Thanks in advance.

0 Answers
Related