device_xiaomi_sm6150-common/fod/Android.bp
TheScarastic e83427491a
davinci: fod: Add surfaceflinger extension lib
Change-Id: I51fb56c0a20e3cac83afb46ed6a6e2f967159d18
2020-10-13 18:25:13 +02:00

48 lines
1.6 KiB
Plaintext

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