Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can i find androidmk tool to convert Android.mk to Android.bp?

Currently, i am trying to convert Android.mk to Android.bp. I am doing it manually. But when i read about this blog

I found using androidmk tool, we can convert easily Android.mk to Android.bp.

But, i am not able to find anywhere.

Please suggest me some solution.

like image 501
deeptimancode Avatar asked Jul 06 '18 09:07

deeptimancode


Video Answer


2 Answers

Clone the full android source and prepare for a build like usual, using . build/envsetup.sh, then run make blueprint_tools. Now you can simply run androidmk and the command will be in your PATH.

like image 148
Hack5 Avatar answered Oct 04 '22 09:10

Hack5


You need to only run below command:-

source build/envsetup.sh

cd "the directory where android.mk to be converted is present"

androidmk Android.mk

Then Copy the output to Android.bp file

like image 35
Lavakush Avatar answered Oct 04 '22 09:10

Lavakush