Hi,
Am trying to convert all my Android.mk files which are actually designed in hierarchical manner using several Android.mk files. I have total 60 Android.mk files which are linked to each other. Am using a global make file to provide configuration variables to each make files.
Currently I need to convert it to Android.bp so that I could use "vndk", "vendor_available", etc. Am facing "Internal error: not yet implemented" error in Android 8.1 for some modules and it crashed total Android make/mmm system.
And then I have shifted to Android 9. Now am getting all properly but am in slight confusion on how to get proper tutorial on Android.bp generation. Some of my requirements are as follows,
# How to use LOCAL_JNI_SHARED_LIBS in android_app module, which is not getting converted using androidmk tool.
# Perform condition checks using some custom variable with custom option in each modules.
# How not to jump in to some subdirectories, which I haven't specified in subdir variable.
# What is the difference between subdir and optional_subdir.
# How to pass some varibles between bp files. Some variables are getting passed whereas others are not.