1# Copyright (c) 2020-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/lite/config/component/lite_component.gni") 15 16if (os_level != "mini") { 17 lite_library("pms_client") { 18 target_type = "shared_library" 19 sources = 20 [ "//base/security/permission_lite/services/pms_client/perm_client.c" ] 21 22 include_dirs = [ 23 "//base/security/permission_lite/interfaces/innerkits", 24 "//base/security/permission_lite/interfaces/kits", 25 "//base/security/permission_lite/services/pms/include", 26 "//base/security/permission_lite/services/pms_base/include", 27 "//commonlibrary/utils_lite/include", 28 "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/registry", 29 "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr", 30 "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/communication/broadcast", 31 "//foundation/systemabilitymgr/samgr_lite/samgr/source", 32 "//third_party/cJSON", 33 "//third_party/bounds_checking_function/include", 34 ] 35 36 deps = [ 37 "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", 38 "//build/lite/config/component/cJSON:cjson_shared", 39 "//foundation/communication/ipc/interfaces/innerkits/c/ipc:ipc_single", 40 "//foundation/systemabilitymgr/samgr_lite/samgr:samgr", 41 "//third_party/bounds_checking_function:libsec_shared", 42 ] 43 } 44} else { 45 group("pms_client") { 46 } 47} 48