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("//base/user_iam/face_auth/useriam.gni") 15import("//build/ohos.gni") 16 17ohos_shared_library("faceauthservice") { 18 include_dirs = [ 19 "//foundation/multimedia/camera_standard/interfaces/inner_api/native/camera/include", 20 "//base/user_iam/face_auth/services/faceauth/include", 21 "//base/user_iam/face_auth/services/common/include", 22 "//base/user_iam/face_auth/services/temp/include", 23 "//base/user_iam/face_auth/services/common/log/include", 24 "//base/user_iam/face_auth/services/ca_mock/include", 25 "//base/user_iam/auth_executor_mgr/interfaces/innerkits/include", 26 "//base/user_iam/auth_executor_mgr/services/include", 27 "//base/user_iam/auth_executor_mgr/frameworks/kitsimpl/include", 28 "//base/user_iam/auth_executor_mgr/utils/native/include", 29 "//drivers/peripheral/camera/interfaces/metadata/include", 30 "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include", 31 "//foundation/multimedia/camera_standard/interfaces/innerkits/native/camera/include", 32 "//foundation/multimedia/camera_standard/services/camera_service/binder/base/include", 33 "//foundation/multimedia/camera_standard/services/camera_service/binder/client/include", 34 "//foundation/multimedia/camera_standard/services/camera_service/binder/server/include", 35 ] 36 37 sources = [ 38 "//base/user_iam/face_auth/services/ca_mock/src/adaptor_algorithm.cpp", 39 "//base/user_iam/face_auth/services/ca_mock/src/buffer.cpp", 40 "//base/user_iam/face_auth/services/ca_mock/src/face_auth_ca.cpp", 41 "//base/user_iam/face_auth/services/ca_mock/src/face_auth_func.cpp", 42 "//base/user_iam/face_auth/services/common/src/constant.cpp", 43 "//base/user_iam/face_auth/services/common/src/return_callback.cpp", 44 "//base/user_iam/face_auth/services/faceauth/src/face_auth_camera.cpp", 45 "//base/user_iam/face_auth/services/faceauth/src/face_auth_camera_buffer_listener.cpp", 46 "//base/user_iam/face_auth/services/faceauth/src/face_auth_event.cpp", 47 "//base/user_iam/face_auth/services/faceauth/src/face_auth_event_handler.cpp", 48 "//base/user_iam/face_auth/services/faceauth/src/face_auth_executor_callback.cpp", 49 "//base/user_iam/face_auth/services/faceauth/src/face_auth_get_info_callback.cpp", 50 "//base/user_iam/face_auth/services/faceauth/src/face_auth_manager.cpp", 51 "//base/user_iam/face_auth/services/faceauth/src/face_auth_query_callback.cpp", 52 "//base/user_iam/face_auth/services/faceauth/src/face_auth_req.cpp", 53 "//base/user_iam/face_auth/services/faceauth/src/face_auth_service.cpp", 54 "//base/user_iam/face_auth/services/faceauth/src/face_auth_thread_pool.cpp", 55 ] 56 57 deps = [ 58 "//drivers/peripheral/camera/interfaces/metadata:metadata", 59 "//foundation/multimedia/camera_standard/frameworks/native/camera:camera_framework", 60 "//third_party/openssl:libcrypto_static", 61 ] 62 external_deps = [ 63 "auth_executor_mgr:coauth_framework", 64 "eventhandler:libeventhandler", 65 "graphic_standard:surface", 66 "hiviewdfx_hilog_native:libhilog", 67 "ipc:ipc_core", 68 "safwk:system_ability_fwk", 69 "samgr_standard:samgr_proxy", 70 "startup_l2:syspara_watchagent", 71 "user_idm:useridm_framework", 72 "utils_base:utils", 73 ] 74 subsystem_name = "useriam" 75 part_name = "face_auth" 76} 77