Hi,
I am trying to use "genrule" in my Android.bp to generate some header files, which requires some input like PRODUCT_MODEL etc that are defined in
product_config.mk.
It seems that those variables cannot be directly used in the "cmd" of a "genrule" in Android.bp.
However, I also tried to write my golang with Android.bp, but it turns out that in the golang I still cannot access those .mk defined vars. Only some env vars are available.
Could anybody point out a way for me?
Thanks a lot,
Robin