Adding .so file to Android Build

1,091 views
Skip to first unread message

Deepak Kumar

unread,
Dec 22, 2021, 1:19:56 PM12/22/21
to Chromium-dev
Hi All,
Can anyone guide me how to add generated .so file to chromium android build?


Regards,
Deepak

Shervin

unread,
Dec 23, 2021, 2:51:15 PM12/23/21
to Chromium-dev, kr.dee...@gmail.com
You can use this link below to get what you want:
In a nutshell it says:
  1. Create the default jni and jniLibs directories for your source and libs.
  2. Tell Android Studio where to find your NDK build chain
  3. Tell gradle how to compile and where to place your libs
  4. Create an Android.mk file to specify building and linking order
  5. Create some source

Deepak Kumar

unread,
Dec 30, 2021, 12:38:06 PM12/30/21
to Chromium-dev, Shervin, Deepak Kumar
Thanks for the reply Shervin, really appreciate it.

I already have prebuilt .so files which needed to include in Chromium android apk for firebase integration. Anyway I have acheived it using 


Thanks,
Deepak

Reply all
Reply to author
Forward
0 new messages