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 that you can add it to PRODUCT_PACKAGES, but not
PRODUCT_HOST_PACKAGES, and get it installed only for the device.

Sorry for the complication,
Dan

On Mon, Mar 18, 2019 at 7:28 AM Po Hu <hupo1...@gmail.com> wrote:

> 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
> PRODUCT_HOST_PACKAGES
> build/make/core/main.mk:1183: warning: See
> https://android.googlesource.com/platform/build/+/master/Changes.md#PRODUCT_HOST_PACKAGES
> for more information
> build/make/core/main.mk:1184: warning: _ badblocks
> build/make/core/main.mk:1185: error: stop.
>
> Because badblocks happens to be a "host_supported" binary too.
> How to make only the target one installed ?
> I don't want to use "PRODUCT_HOST_PACKAGES += badblocks" to generate extra
> host binary.
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to