device_xiaomi_sm6150-common/fingerprint/Android.bp

39 lines
1.2 KiB
Plaintext
Raw Normal View History

cc_defaults {
name: "xiaomi_sm6150_fingerprint_defaults",
defaults: ["hidl_defaults"],
vendor: true,
relative_install_path: "hw",
srcs: [
"BiometricsFingerprint.cpp",
"service.cpp",
],
shared_libs: [
"libcutils",
"liblog",
"libhidlbase",
"libhardware",
"libutils",
"android.hardware.biometrics.fingerprint@2.1",
],
}
cc_binary {
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150",
defaults: ["xiaomi_sm6150_fingerprint_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.rc"],
vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.xml"],
}
cc_binary {
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150-ext",
defaults: ["xiaomi_sm6150_fingerprint_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150-ext.rc"],
vintf_fragments: [
"android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.xml",
"vendor.xiaomi.hardware.fingerprintextension@1.0.xml",
],
shared_libs: ["vendor.xiaomi.hardware.fingerprintextension@1.0"],
cflags: ["-DXIAOMI_FINGERPRINTEXTENSION"],
}