1# Copyright (c) 2022-2023 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.1") { 18 include_dirs = [ 19 "include", 20 "../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_1.1", 30 "hilog: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 "../common/logs", 43 ] 44 sources = [ "src/fingerprint_auth_interface_driver.cpp" ] 45 46 external_deps = [ 47 "c_utils:utils", 48 "drivers_interface_fingerprint_auth:fingerprint_auth_idl_headers_1.1", 49 "drivers_interface_fingerprint_auth:libfingerprint_auth_stub_1.1", 50 "hdf_core:libhdf_host", 51 "hdf_core:libhdf_ipc_adapter", 52 "hdf_core:libhdf_utils", 53 "hdf_core:libhdi", 54 "hilog:libhilog", 55 "ipc:ipc_single", 56 ] 57 58 shlib_type = "hdi" 59 install_images = [ chipset_base_dir ] 60 subsystem_name = "hdf" 61 part_name = "drivers_peripheral_fingerprint_auth" 62} 63 64group("hdf_fingerprint_auth_service") { 65 deps = [ 66 ":libfingerprint_auth_driver", 67 ":libfingerprint_auth_interface_service_1.1", 68 ] 69} 70