1# Copyright (c) 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") 15 16ohos_static_library("asset_os_dependency") { 17 include_dirs = [ 18 "inc", 19 "../../frameworks/os_dependency/log/inc", 20 "../../interfaces/kits/c/inc", 21 ] 22 sources = [ 23 "src/access_token_wrapper.cpp", 24 "src/bms_wrapper.cpp", 25 "src/os_account_wrapper.cpp", 26 "src/system_ability_wrapper.cpp", 27 "src/system_event_wrapper.cpp", 28 ] 29 deps = [ "../../frameworks/os_dependency/memory:asset_mem" ] 30 external_deps = [ 31 "ability_base:want", 32 "access_token:libaccesstoken_sdk", 33 "access_token:libtokenid_sdk", 34 "bundle_framework:appexecfwk_base", 35 "bundle_framework:appexecfwk_core", 36 "c_utils:utils", 37 "common_event_service:cesfwk_innerkits", 38 "hilog:libhilog", 39 "ipc:ipc_single", 40 "os_account:os_account_innerkits", 41 "samgr:samgr_proxy", 42 ] 43 subsystem_name = "security" 44 part_name = "asset" 45} 46