Android create shared library from prebuilt static libraries

Hello,

I am working on Android library project, trying to migrate my native building configuration from ndk-build to cmake.

My project uses prebuilt static and dynamic libraries, no additional sources. Static libs are built into single dynamic lib in different variants. Dynamic libs are taken as they are. Libs are linked depending on the project variant.

What is recommended target configuration for such case?
How can I keep all the symbols without stripping?

right now I am using

add_library(lib1 STATIC IMPORTED)
set_property(TARGET lib1 PROPERTY IMPORTED_LOCATION ${PROJECT_SOURCE_DIR}/libs/lib1.a)

to declare static libs and link them against shared lib target.

Can anyone point me where can I find answers? Thanks