libvintf: always use -DLIBVINTF_TARGET for target.
This was missing from libvintf and only applied to
libvintf_common, but libvintf also has utils.cpp which
depends on LIBVINTF_TARGET being defined. This caused
all property reads that libvintf made to return the
default value.
Bug: 91735839
Test: add an odm manifest for SE conditional on
a system property (ro.boot.product.hardware.sku)
and make sure it is read into the manifest (using
the vintf tool) and also that a client can get the
service:
$ lshal | grep secure
Y android.hardware.secure_element@1.0::ISecureElement/SIM1 0/2 881 2262 567
Test: `adb shell vintf` shows the manifest as parsing and the HAL as
being on the device:
DM android.hardware.secure_element@1.0::IDevice/SIM1
FCM android.hardware.secure_element@1.0::ISecureElement/SIM[1-9][0-9]*
FCM android.hardware.secure_element@1.0::ISecureElement/eSE[1-9][0-9]*
Change-Id: Ibdfdcfce8d17b964015fc05983c99573c7f060a1
1 file changed