2020-05-18 13:04:57 -04:00
|
|
|
soong_config_module_type {
|
|
|
|
name: "fingerprint_extension",
|
|
|
|
module_type: "cc_defaults",
|
|
|
|
config_namespace: "xiaomiSm8350Vars",
|
|
|
|
bool_variables: ["fingerprint_use_extension"],
|
|
|
|
properties: [
|
|
|
|
"cflags",
|
|
|
|
"shared_libs",
|
|
|
|
"vintf_fragments",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
fingerprint_extension {
|
|
|
|
name: "fingerprint_extension_defaults",
|
|
|
|
soong_config_variables: {
|
|
|
|
fingerprint_use_extension: {
|
|
|
|
cflags: ["-DUSE_EXTENSION"],
|
|
|
|
shared_libs: [
|
|
|
|
"vendor.xiaomi.hardware.fingerprintextension@1.0",
|
|
|
|
],
|
|
|
|
vintf_fragments: ["vendor.xiaomi.hardware.fingerprintextension@1.0.xml"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2021-01-25 06:27:13 -05:00
|
|
|
cc_binary {
|
2021-01-25 06:42:07 -05:00
|
|
|
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350",
|
2020-05-18 13:04:57 -04:00
|
|
|
defaults: [
|
|
|
|
"hidl_defaults",
|
|
|
|
"fingerprint_extension_defaults",
|
|
|
|
],
|
2021-01-25 06:42:07 -05:00
|
|
|
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350.rc"],
|
|
|
|
vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350.xml"],
|
2021-01-25 06:27:13 -05:00
|
|
|
vendor: true,
|
|
|
|
relative_install_path: "hw",
|
|
|
|
srcs: [
|
|
|
|
"BiometricsFingerprint.cpp",
|
|
|
|
"service.cpp",
|
|
|
|
],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
"liblog",
|
|
|
|
"libhidlbase",
|
|
|
|
"libhardware",
|
|
|
|
"libutils",
|
|
|
|
"android.hardware.biometrics.fingerprint@2.1",
|
|
|
|
],
|
|
|
|
|
|
|
|
}
|