android_device_oneplus_dre/fod/Android.bp

43 lines
1.6 KiB
Text
Raw Normal View History

//
// 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_lahaina_fod_hal_binary {
relative_install_path: "hw",
defaults: ["hidl_defaults"],
name: "vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.oneplus_lahaina",
init_rc: ["vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.oneplus_lahaina.rc"],
vintf_fragments: ["vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.oneplus_lahaina.xml"],
srcs: ["service.cpp", "FingerprintInscreen.cpp"],
shared_libs: [
"libbase",
"libhardware",
"libhidlbase",
"liblog",
"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",
],
proprietary: true,
}
cc_library_static {
name: "libfod_extension.oneplus_lahaina",
srcs: ["FodExtension.cpp"],
include_dirs: [
"frameworks/native/services/surfaceflinger/CompositionEngine/include"
],
}