If the recipe was included in the distribution, i guess the build.py should not expose this.
I understand that the AndroidManifest.xml should be changed according if the recipe is included or not, and it need a mechanism to extend it. Maybe we can create a AndroidManifest.xml.conf with the token that jinja should add by default? And then, a recipe can add its own token during the distribution part