The behavior up until a few weeks ago was to build everything in
PRODUCT_PACKAGES for both host and device. I'm in the process of splitting
them up, but right now that means that you need to add them to both
PRODUCT_PACKAGES and PRODUCT_HOST_PACKAGES. I hope to fully disconnect them
this week, so
When I try to add a target binary called badblocks (defined
https://android.googlesource.com/platform/external/e2fsprogs/+/refs/heads/master/misc/Android.bp#157)
into image.
"PRODUCT_PACKAGES += badblocks" will show this error:
build/make/core/main.mk:1182: warning: Missing modules from