deeptimancode
deeptimancode

Reputation: 1139

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.

Upvotes: 7

Views: 15407

Answers (2)

Lavakush
Lavakush

Reputation: 1930

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

Upvotes: 3

Hack5
Hack5

Reputation: 3601

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.

Upvotes: 13

Related Questions