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 28ffrt_path = "//foundation/resourceschedule/ffrt" 29 30interfaces_path = "${common_event_service_path}/interfaces" 31 32services_path = "${common_event_service_path}/services" 33 34tools_path = "${common_event_service_path}/tools" 35 36ces_common_path = "${frameworks_path}/common" 37 38ces_core_path = "${frameworks_path}/core" 39 40ces_innerkits_path = "${interfaces_path}/inner_api" 41 42ces_native_path = "${frameworks_path}/native" 43 44ces_extension_path = "${frameworks_path}/extension" 45 46ces_services_path = "${services_path}" 47declare_args() { 48 common_event_service_with_graphics = true 49 has_hisysevent_part = true 50 common_event_service_tool_cem_enable = true 51 52 if (!defined(global_parts_info) || 53 defined(global_parts_info.account_os_account)) { 54 has_os_account_part = true 55 } else { 56 has_os_account_part = false 57 } 58 59 if (defined(global_parts_info) && 60 !defined(global_parts_info.hiviewdfx_hisysevent_native)) { 61 has_hisysevent_part = false 62 } 63 64 print("has_hisysevent_part = " + "$has_hisysevent_part") 65} 66