device_xiaomi_sm6150-common/fod/Android.bp
Vincent Vidal e080227d40
davinci: fod: Include generated_kernel_headers to build libfod_extension
Change-Id: I7357fc3dca9882af3d57074e69f9fb22bc9eaa99
2020-11-28 18:12:02 +01:00

52 lines
1.7 KiB
Plaintext

//
// Copyright (C) 2019-2020 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",
defaults: ["hidl_defaults"],
vintf_fragments: ["vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.davinci.xml"],
init_rc: ["vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.davinci.rc"],
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",
"vendor.xiaomi.hardware.touchfeature@1.0",
],
}
cc_library_static {
name: "libfod_extension.davinci",
srcs: ["FodExtension.cpp"],
include_dirs: [
"frameworks/native/services/surfaceflinger/CompositionEngine/include",
],
header_libs: [
"generated_kernel_headers",
],
}