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") 15 16config("attributes_config") { 17 include_dirs = [ "//base/useriam/user_auth_framework/interfaces/inner_api" ] 18} 19 20ohos_source_set("attributes") { 21 include_dirs = [ "//base/useriam/user_auth_framework/interfaces/inner_api" ] 22 23 sources = [ "attributes/src/attributes.cpp" ] 24 25 configs = [ "//base/useriam/user_auth_framework/common:iam_log_config" ] 26 27 public_configs = [ ":attributes_config" ] 28 29 external_deps = [ 30 "c_utils:utils", 31 "hiviewdfx_hilog_native:libhilog", 32 ] 33} 34 35config("dfx_config") { 36 include_dirs = [ "dfx/inc" ] 37} 38 39ohos_source_set("dfx") { 40 include_dirs = [ "dfx/inc" ] 41 42 sources = [ 43 "dfx/src/hisysevent_adapter.cpp", 44 "dfx/src/iam_hitrace_helper.cpp", 45 ] 46 47 configs = [ "//base/useriam/user_auth_framework/common:iam_log_config" ] 48 49 public_configs = [ ":dfx_config" ] 50 51 external_deps = [ 52 "c_utils:utils", 53 "hisysevent_native:libhisysevent", 54 "hitrace_native:hitrace_meter", 55 "hiviewdfx_hilog_native:libhilog", 56 ] 57} 58