USB: Adding Product specific support for USB HAL

Now that the vendor_product.mk is picked up by more targets
we need to distinguish those that are not using the USB HAL
1.1. This version of the USB HAL is not intended to be used
on targets with kernels older than 4.19 (since it relies on
Type-C Class to be enabled).

Fix this by conditionally checking the target kernel version
when adding the HAL module to PRODUCT_PACKAGES.

Change-Id: I3bfe14aed122f20607d63310a739103f0566e4e7
1 file changed
tree: bf072f7ec8b4bdf1167d1347e811a59553c9816c
  1. hal/
  2. vendor_product.mk