Re: [android-building] Question about PRODUCT_HOST_PACKAGES and PRODUCT_PACKAGES

2019-03-18 Thread 'Dan Willemsen' via Android Building
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

[android-building] Question about PRODUCT_HOST_PACKAGES and PRODUCT_PACKAGES

2019-03-18 Thread Po Hu
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