fingerprint: Move shims and UDFPS extension out of HIDL
Change-Id: I29e31088c6380076221ad419a195a460079165d6
This commit is contained in:
16
fingerprint/Android.bp
Normal file
16
fingerprint/Android.bp
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Copyright (C) 2025 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
cc_library_static {
|
||||
name: "libudfps_extension.oplus",
|
||||
srcs: ["UdfpsExtension.cpp"],
|
||||
include_dirs: [
|
||||
"frameworks/native/services/surfaceflinger/CompositionEngine/include",
|
||||
],
|
||||
header_libs: [
|
||||
"generated_kernel_headers",
|
||||
],
|
||||
}
|
||||
15
fingerprint/shims/Android.bp
Normal file
15
fingerprint/shims/Android.bp
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// Copyright (C) 2025 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
cc_library {
|
||||
name: "libshims_fingerprint.oplus",
|
||||
srcs: ["BiometricsFingerprintShim.cpp"],
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"liblog",
|
||||
],
|
||||
device_specific: true,
|
||||
}
|
||||
@@ -1,3 +1,9 @@
|
||||
//
|
||||
// Copyright (C) 2022-2025 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
cc_binary {
|
||||
name: "android.hardware.biometrics.fingerprint@2.3-service.oplus",
|
||||
defaults: ["hidl_defaults"],
|
||||
@@ -22,27 +28,6 @@ cc_binary {
|
||||
required: ["qwerty.kl"],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "libshims_fingerprint.oplus",
|
||||
srcs: ["BiometricsFingerprintShim.cpp"],
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"liblog",
|
||||
],
|
||||
device_specific: true,
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libudfps_extension.oplus",
|
||||
srcs: ["UdfpsExtension.cpp"],
|
||||
include_dirs: [
|
||||
"frameworks/native/services/surfaceflinger/CompositionEngine/include",
|
||||
],
|
||||
header_libs: [
|
||||
"generated_kernel_headers",
|
||||
],
|
||||
}
|
||||
|
||||
prebuilt_usr_keylayout {
|
||||
name: "qwerty.kl",
|
||||
src: "qwerty.kl",
|
||||
|
||||
Reference in New Issue
Block a user