device_xiaomi_sm6150-common/fingerprint/Android.bp
TheScarastic 3152b1a1cf sm6150-common: fingerprint: Add surfaceflinger udfps extension lib
Squashed in this commit:
Author: TheScarastic <warabhishek@gmail.com>
Date:   Tue Oct 12 13:29:07 2021 +0200

    sm6150-common: fingerprint: Rename fod extension to udfps extension

Author: Vincent Vidal <vinvidal@gmail.com>
Date:   Tue Aug 18 14:42:49 2020 +0200

    sm6150-common: fod: Use FOD_PRESSED_LAYER_ZORDER instead of magic number

Author: Vincent Vidal <vinvidal@gmail.com>
Date:   Tue Aug 18 14:40:50 2020 +0200

    sm6150-common: fod: Include generated_kernel_headers to build libfod_extension

Change-Id: I51fb56c0a20e3cac83afb46ed6a6e2f967159d18
2021-12-29 10:18:16 +00:00

49 lines
1.4 KiB
Plaintext

cc_defaults {
name: "xiaomi_sm6150-fingerprint_defaults",
defaults: ["hidl_defaults"],
vintf_fragments: ["android.hardware.biometrics.fingerprint@2.3-service.xiaomi_sm6150.xml"],
vendor: true,
relative_install_path: "hw",
srcs: [
"BiometricsFingerprint.cpp",
"service.cpp",
],
shared_libs: [
"libbase",
"libcutils",
"liblog",
"libhidlbase",
"libhardware",
"libutils",
"android.hardware.biometrics.fingerprint@2.1",
"android.hardware.biometrics.fingerprint@2.2",
"android.hardware.biometrics.fingerprint@2.3",
],
}
cc_binary {
name: "android.hardware.biometrics.fingerprint@2.3-service.xiaomi_sm6150",
defaults: ["xiaomi_sm6150-fingerprint_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.3-service.xiaomi_sm6150.rc"],
}
cc_binary {
name: "android.hardware.biometrics.fingerprint@2.3-service.xiaomi_sm6150-udfps",
defaults: ["xiaomi_sm6150-fingerprint_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.3-service.xiaomi_sm6150-udfps.rc"],
cflags: ["-DENABLE_UDFPS"],
}
cc_library_static {
name: "libudfps_extension.xiaomi_sm6150",
srcs: ["UdfpsExtension.cpp"],
include_dirs: [
"frameworks/native/services/surfaceflinger/CompositionEngine/include",
],
header_libs: [
"generated_kernel_headers",
],
}