Reputation: 1139
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
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
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