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. 13 14ability_runtime_path = "//foundation/ability/ability_runtime" 15ability_runtime_inner_api_path = "${ability_runtime_path}/interfaces/inner_api" 16ability_runtime_services_path = "${ability_runtime_path}/services" 17ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits" 18ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi" 19component_name = "distributed_notification_service" 20component_path = "//base/notification/distributed_notification_service" 21services_path = "${component_path}/services" 22frameworks_path = "${component_path}/frameworks" 23frameworks_module_ans_path = "${frameworks_path}/ans" 24interfaces_path = "${component_path}/interfaces" 25inner_api_path = "${interfaces_path}/inner_api" 26core_path = "${frameworks_path}/core" 27test_path = "${component_path}/test" 28tools_path = "${component_path}/tools" 29distributed_notification_supported = true 30subsystem_name = "notification" 31component_external_deps = [ 32 "ability_base:base", 33 "ability_base:want", 34 "ability_base:zuri", 35 "bundle_framework:appexecfwk_base", 36 "bundle_framework:appexecfwk_core", 37 "common_event_service:cesfwk_innerkits", 38 "eventhandler:libeventhandler", 39 "hiviewdfx_hilog_native:libhilog", 40 "ipc:ipc_core", 41 "safwk:system_ability_fwk", 42 "samgr:samgr_proxy", 43] 44 45declare_args() { 46 device_usage = true 47 hisysevent_usage = true 48 49 if (defined(global_parts_info) && 50 !defined(global_parts_info.resourceschedule_device_usage_statistics)) { 51 device_usage = false 52 } 53 54 if (defined(global_parts_info) && 55 !defined(global_parts_info.hiviewdfx_hisysevent_native)) { 56 hisysevent_usage = false 57 } 58 59 print("hisysevent_usage = " + "$hisysevent_usage") 60} 61