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 16ohos_static_library("libinstallermanager") { 17 sources = [ 18 "//base/update/sys_installer/frameworks/installer_manager/src/installer_manager.cpp", 19 "//base/update/sys_installer/frameworks/installer_manager/src/installer_manager_helper.cpp", 20 "//base/update/sys_installer/frameworks/installer_manager/src/pkg_verify.cpp", 21 ] 22 23 include_dirs = [ 24 "//base/update/updater/utils/include", 25 "//base/update/updater/interfaces/kits/include", 26 "//base/update/sys_installer/interfaces/innerkits", 27 "//base/update/sys_installer/interfaces/inner_api/include", 28 "//base/update/sys_installer/frameworks/installer_manager/include", 29 "//base/update/sys_installer/frameworks/status_manager/include", 30 "//base/update/sys_installer/services/ab_update/include", 31 "//base/update/updater/services/include", 32 "//foundation/communication/ipc/interfaces/innerkits/ipc_core/include", 33 "//third_party/openssl/include", 34 ] 35 36 deps = [ 37 "//base/update/sys_installer/services/ab_update:libabupdate", 38 "//base/update/updater/interfaces/kits/packages:libpackageExt", 39 "//base/update/updater/services/log:libupdaterlog", 40 "//base/update/updater/services/package:libupdaterpackage", 41 "//third_party/openssl:ssl_source", 42 ] 43 44 external_deps = [ "hiviewdfx_hilog_native:libhilog" ] 45 part_name = "sys_installer" 46} 47