sm8250-common: Import FOD HAL from device/oneplus/sm8150-common

This commit is contained in:
LuK1337
2020-06-22 20:00:06 +02:00
parent 7e343c47fe
commit e7779bb46f
13 changed files with 501 additions and 2 deletions

42
fod/Android.bp Normal file
View File

@@ -0,0 +1,42 @@
//
// Copyright (C) 2019 The LineageOS Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
oneplus_kona_fod_hal_binary {
relative_install_path: "hw",
defaults: ["hidl_defaults"],
name: "lineage.biometrics.fingerprint.inscreen@1.0-service.oneplus_kona",
init_rc: ["lineage.biometrics.fingerprint.inscreen@1.0-service.oneplus_kona.rc"],
srcs: ["service.cpp", "FingerprintInscreen.cpp"],
shared_libs: [
"libbase",
"libhardware",
"libhidlbase",
"libhidltransport",
"liblog",
"libhwbinder",
"libutils",
"vendor.lineage.biometrics.fingerprint.inscreen@1.0",
"//device/oneplus/common:vendor.oneplus.fingerprint.extension@1.0",
"//device/oneplus/common:vendor.oneplus.hardware.display@1.0",
],
}
cc_library_static {
name: "libfod_extension.oneplus_kona",
srcs: ["FodExtension.cpp"],
include_dirs: [
"frameworks/native/services/surfaceflinger/CompositionEngine/include"
],
}