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/auth_executor_mgr/auth_executor_mgr.gni") 15 16config("coauth_private_config") { 17 include_dirs = [ 18 "${coauth_frameworks_path}/kitsimpl/include", 19 "//base/user_iam/auth_executor_mgr/common/interface", 20 ] 21} 22 23config("coauth_public_config") { 24 include_dirs = [ "include" ] 25} 26 27ohos_shared_library("coauthservice") { 28 sources = [ 29 "src/auth_res_manager.cpp", 30 "src/auth_res_pool.cpp", 31 "src/call_monitor.cpp", 32 "src/coauth_manager.cpp", 33 "src/coauth_service.cpp", 34 "src/coauth_stub.cpp", 35 "src/coauth_thread_pool.cpp", 36 "src/executor_messenger.cpp", 37 ] 38 39 configs = [ 40 "${coauth_utils_path}:utils_config", 41 ":coauth_private_config", 42 ] 43 44 public_configs = [ ":coauth_public_config" ] 45 46 deps = [ 47 "${coauth_innerkits_path}:coauth_framework", 48 "//base/user_iam/auth_executor_mgr/common:useriam_common_lib", 49 "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler:libeventhandler", 50 "//utils/native/base:utils", 51 ] 52 53 external_deps = [ 54 "hiviewdfx_hilog_native:libhilog", 55 "ipc:ipc_core", 56 "safwk:system_ability_fwk", 57 "samgr_standard:samgr_proxy", 58 "startup_l2:syspara", 59 ] 60 61 part_name = "${coauth_native_part_name}" 62} 63