# Copyright (c) 2022 Huawei Device Co., Ltd. # 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. import("//base/user_iam/pin_auth/pinauth.gni") import("//build/ohos.gni") config("pin_auth_services_config") { include_dirs = [ "//base/security/access_token/interfaces/innerkits/accesstoken/include", "//base/user_iam/pin_auth/hdi/main/inc", "//base/user_iam/pin_auth/hdi/common/inc", "//base/user_iam/user_idm/interfaces/innerkits/include", "${pinauth_services_path}/include", ] } ohos_shared_library("pinauthservice") { sources = [ "${pinauth_services_path}/src/i_inputer_data_stub.cpp", "${pinauth_services_path}/src/i_inputer_proxy.cpp", "${pinauth_services_path}/src/pinauth_controller.cpp", "${pinauth_services_path}/src/pinauth_manager.cpp", "${pinauth_services_path}/src/pinauth_service.cpp", "${pinauth_services_path}/src/pinauth_stub.cpp", ] configs = [ ":pin_auth_services_config" ] deps = [ "${pinauth_frameworks_path}:pinauth_framework", "//base/security/access_token/interfaces/innerkits/accesstoken:libaccesstoken_sdk", "//base/startup/syspara_lite/interfaces/innerkits/native/syspara:syspara", "//base/user_iam/auth_executor_mgr/interfaces/innerkits:coauth_framework", "//base/user_iam/pin_auth/hdi:pinauth_hdi", "//base/user_iam/user_idm/interfaces/innerkits:useridm_framework", "//third_party/openssl:libcrypto_static", "//utils/native/base:utils", ] external_deps = [ "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", "samgr_standard:samgr_proxy", "startup_l2:syspara_watchagent", ] subsystem_name = "useriam" part_name = "pin_auth" }