1# Copyright (c) 2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/ohos.gni") 15import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") 16 17ohos_shared_library("libfingerprint_auth_interface_service_1.0") { 18 include_dirs = [ 19 "include", 20 "//base/useriam/user_auth_framework/common/logs", 21 ] 22 sources = [ 23 "src/executor_impl.cpp", 24 "src/fingerprint_auth_interface_service.cpp", 25 ] 26 27 external_deps = [ 28 "c_utils:utils", 29 "drivers_interface_fingerprint_auth:fingerprint_auth_idl_headers", 30 "hiviewdfx_hilog_native:libhilog", 31 "ipc:ipc_single", 32 ] 33 34 install_images = [ chipset_base_dir ] 35 subsystem_name = "hdf" 36 part_name = "drivers_peripheral_fingerprint_auth" 37} 38 39ohos_shared_library("libfingerprint_auth_driver") { 40 include_dirs = [ 41 "include", 42 "//base/useriam/user_auth_framework/common/logs", 43 ] 44 sources = [ "src/fingerprint_auth_interface_driver.cpp" ] 45 deps = [ 46 "//drivers/interface/fingerprint_auth/v1_0:libfingerprint_auth_stub_1.0", 47 ] 48 49 external_deps = [ 50 "c_utils:utils", 51 "hdf_core:libhdf_host", 52 "hdf_core:libhdf_ipc_adapter", 53 "hdf_core:libhdi", 54 "hiviewdfx_hilog_native:libhilog", 55 "ipc:ipc_single", 56 ] 57 58 install_images = [ chipset_base_dir ] 59 subsystem_name = "hdf" 60 part_name = "drivers_peripheral_fingerprint_auth" 61} 62 63group("hdf_fingerprint_auth_service") { 64 deps = [ 65 ":libfingerprint_auth_driver", 66 ":libfingerprint_auth_interface_service_1.0", 67 ] 68} 69