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_ndk_path = "${interfaces_path}/kits/ndk" 43 44ces_native_path = "${frameworks_path}/native" 45 46ces_extension_path = "${frameworks_path}/extension" 47 48ces_services_path = "${services_path}" 49 50common_fuzz_test_path = "common_event_service/common_event_service" 51declare_args() { 52 common_event_service_with_graphics = true 53 has_hisysevent_part = true 54 common_event_service_tool_cem_enable = true 55 ces_hitrace_usage = true 56 ces_config_policy_enable = true 57 58 if (!defined(global_parts_info) || 59 defined(global_parts_info.account_os_account)) { 60 has_os_account_part = true 61 } else { 62 has_os_account_part = false 63 } 64 65 if (defined(global_parts_info) && 66 !defined(global_parts_info.hiviewdfx_hisysevent)) { 67 has_hisysevent_part = false 68 } 69 70 if (defined(global_parts_info) && 71 !defined(global_parts_info.hiviewdfx_hitrace)) { 72 hitrace_usage = false 73 } 74 75 if (defined(global_parts_info) && 76 !defined(global_parts_info.customization_config_policy)) { 77 ces_config_policy_enable = false 78 } 79 80 print("has_hisysevent_part = " + "$has_hisysevent_part") 81 print("event ces_hitrace_usage = " + "$ces_hitrace_usage") 82} 83