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/powermgr/thermal_manager/thermalmgr.gni") 14 15config("module_private_config") { 16 visibility = [ ":*" ] 17 include_dirs = [ 18 "include", 19 "${thermal_service_zidl}/include", 20 "${ability_runtime_services_path}/appmgr/include", 21 "${thermal_innerkits}/native/include", 22 ] 23} 24 25ohos_shared_library("mock_thermalsrv_client") { 26 sources = [ "src/mock_thermal_mgr_client.cpp" ] 27 28 configs = [ 29 "${utils_path}:utils_config", 30 ":module_private_config", 31 ] 32 33 deps = [ "${thermal_service_zidl}:thermalmgr_proxy" ] 34 35 external_deps = [ 36 "bundle_framework:appexecfwk_base", 37 "c_utils:utils", 38 "hiviewdfx_hilog_native:libhilog", 39 "ipc:ipc_core", 40 "samgr:samgr_proxy", 41 ] 42 subsystem_name = "powermgr" 43 part_name = "thermal_manager" 44} 45