2021-03-01 09:19:27 -05:00
|
|
|
cc_defaults {
|
|
|
|
name: "xiaomi_sm6150_fingerprint_defaults",
|
2021-01-25 06:27:13 -05:00
|
|
|
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",
|
|
|
|
],
|
2021-03-01 09:19:27 -05:00
|
|
|
}
|
2021-01-25 06:27:13 -05:00
|
|
|
|
2021-03-01 09:19:27 -05:00
|
|
|
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"],
|
2021-01-25 06:27:13 -05:00
|
|
|
}
|