hidl 编译

修改hal文件后,更新Android.bp文件
croot

hidl-gen -Landroidbp -r vendo.qti.hardware:vendor/qcom/proprietary/interfaces -r android.hidl:system/libhidl/transport [email protected]

因为拼写产生错误,无法指定root(vendor.qti.hardware):
ERROR: Package root not specified for [email protected]


hidl-gen -Landroidbp -r vendor.qti.hardware:vendor/qcom/proprietary/interfaces -r android.hidl:system/libhidl/transport [email protected]

hal修改后,更新hash到current.txt

hidl-gen -L hash -r vendor.qti.hardware.factory:vendor/qcom/proprietary/interfaces/factory -r android.hidl:system/libhidl/transport [email protected] >> vendor/qcom/proprietary/interfaces/current.txt

你可能感兴趣的:(hidl 编译)