Create multi .so file by cmake in Android
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update CMakeLists.txt Apr 4, 2018
gradle/wrapper
layer1
.gitignore create project Jun 6, 2017
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat create project Jun 6, 2017
settings.gradle

README.md

CmakeMultiSo

This project shows two ways to create our own sdk by importing a third party sdk. The first method is to use cmake and the second one is use dlopen.

What's more, we will also need create a jni interfae for test.

There are three layers:

  1. liblayer1.so -- represent a third party sdk.
  2. liblayer2.so -- represent our own sdk.
  3. liblayer3.so -- jni interface used for test.