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" 15 16ability_runtime_inner_api_path = "${ability_runtime_path}/interfaces/inner_api" 17 18ability_runtime_services_path = "${ability_runtime_path}/services" 19 20ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi" 21 22ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits" 23 24common_event_service_path = "//base/notification/common_event_service" 25 26frameworks_path = "${common_event_service_path}/frameworks" 27 28interfaces_path = "${common_event_service_path}/interfaces" 29 30services_path = "${common_event_service_path}/services" 31 32tools_path = "${common_event_service_path}/tools" 33 34ces_common_path = "${frameworks_path}/common" 35 36ces_core_path = "${frameworks_path}/core" 37 38ces_innerkits_path = "${interfaces_path}/inner_api" 39 40ces_native_path = "${frameworks_path}/native" 41 42ces_services_path = "${services_path}" 43declare_args() { 44 common_event_service_with_graphics = true 45 has_hisysevent_part = true 46 common_event_service_tool_cem_enable = true 47 48 if (!defined(global_parts_info) || 49 defined(global_parts_info.account_os_account)) { 50 has_os_account_part = true 51 } else { 52 has_os_account_part = false 53 } 54 55 if (defined(global_parts_info) && 56 !defined(global_parts_info.hiviewdfx_hisysevent_native)) { 57 has_hisysevent_part = false 58 } 59 60 print("has_hisysevent_part = " + "$has_hisysevent_part") 61} 62