1# Copyright (c) 2021 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. 13import("//base/hiviewdfx/hiview/hiview.gni") 14import("//build/ohos.gni") 15 16config("hiview_param_update_config") { 17 visibility = [ "*:*" ] 18 include_dirs = [ 19 "include", 20 "$hiview_core/include", 21 "$hiview_root/utility/common_utils/include", 22 ] 23} 24 25ohos_prebuilt_etc("hiviewparam_update") { 26 source = "hiviewparam_update" 27 part_name = "hiview" 28 subsystem_name = "hiviewdfx" 29 relative_install_dir = "hiview" 30} 31 32ohos_source_set("hiview_param_update") { 33 part_name = "hiview" 34 public_configs = [ ":hiview_param_update_config" ] 35 subsystem_name = "hiviewdfx" 36 37 sources = [ 38 "src/log_sign_tools.cpp", 39 "src/param_event_manager.cpp", 40 "src/param_manager.cpp", 41 "src/param_reader.cpp", 42 ] 43 44 deps = [ 45 "$hiview_base:hiviewbase", 46 "$hiview_base/utility:hiview_utility", 47 "$hiview_root/utility/common_utils:hiview_reliability_common_utils", 48 "//third_party/openssl:libcrypto_shared", 49 "//third_party/openssl:ssl_source", 50 ] 51 52 external_deps = [ 53 "ability_base:base", 54 "ability_base:want", 55 "ability_runtime:ability_manager", 56 "common_event_service:cesfwk_innerkits", 57 "hilog:libhilog", 58 "safwk:system_ability_fwk", 59 "samgr:samgr_proxy", 60 ] 61} 62