Groups
Groups
Sign in
Groups
Groups
Chromium-dev
Conversations
About
Send feedback
Help
Adding .so file to Android Build
1,091 views
Skip to first unread message
Deepak Kumar
unread,
Dec 22, 2021, 1:19:56 PM
12/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
12/23/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev, kr.dee...@gmail.com
You can use this link below to get what you want:
https://stackoverflow.com/questions/32443496/generate-so-file-in-android-studio
In a nutshell it says:
Create the default
jni
and
jniLibs
directories for your source and libs.
Tell Android Studio where to find your NDK build chain
Tell gradle how to compile and where to place your libs
Create an
Android.mk
file to specify building and linking order
Create some source
Deepak Kumar
unread,
Dec 30, 2021, 12:38:06 PM
12/30/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
https://chromium.googlesource.com/chromium/src/build/config/+/refs/heads/main/android/rules.gni
Thanks,
Deepak
Reply all
Reply to author
Forward
0 new messages