1# Copyright (c) 2022 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_innerapi_path = "${ability_runtime_path}/interfaces/inner_api" 16ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits" 17ability_runtime_native_path = "${ability_runtime_path}/frameworks/native" 18ability_runtime_services_path = "${ability_runtime_path}/services" 19ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi" 20form_fwk_ani_path = "//foundation/ability/form_fwk/frameworks/ets/ani" 21ability_dmsfwk_path = "//foundation/ability/dmsfwk" 22 23access_token_path = "//base/security/access_token" 24bundlefwk_path = "//foundation/bundlemanager/bundle_framework" 25bundlefwk_inner_api_path = "${bundlefwk_path}/interfaces/inner_api" 26bundle_mgr_path = "//foundation/bundlemanager" 27distributeddatamgr_path = "//foundation/distributeddatamgr" 28systemabilitymgr_path = "//foundation/systemabilitymgr" 29foundation_distributedschedule_path = "//foundation/distributedschedule" 30dtbschedmgr_path = 31 "${foundation_distributedschedule_path}/dmsfwk/services/dtbschedmgr" 32samgr_proxy_path = "${foundation_distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy" 33adapter_innerkits_path = 34 "${foundation_distributedschedule_path}/samgr/adapter/interfaces/innerkits" 35 36device_manager_path = "//foundation/distributedhardware/device_manager" 37form_fwk_path = "//foundation/ability/form_fwk" 38form_fwk_napi_path = "${form_fwk_path}/frameworks/js/napi" 39form_fwk_inner_api_path = "${form_fwk_path}/interfaces/inner_api" 40form_render_service_path = 41 "${form_fwk_path}/services/form_render_service/FormRenderService" 42global_path = "//base/global" 43ipc_core_path = "//foundation/communication/ipc/interfaces/innerkits/ipc_core" 44arkui_ace_engine_components_path = 45 "//foundation/arkui/ace_engine/frameworks/core/components" 46c_utils_base_path = "//commonlibrary/c_utils/base" 47form_fuzz_test_path = "form_fwk/form_fwk" 48init_path = "//base/startup/init" 49 50declare_args() { 51 form_fwk_form_dimension_2_3 = false 52 form_fwk_form_dimension_3_3 = false 53 form_fwk_watch_api_disable = false 54 form_fwk_dynamic_support = false 55} 56 57declare_args() { 58 device_usage_statistics = true 59 if (defined(global_parts_info) && 60 !defined(global_parts_info.resourceschedule_device_usage_statistics)) { 61 device_usage_statistics = false 62 } 63} 64 65declare_args() { 66 cite_memmgr = false 67 if (defined(global_parts_info) && 68 (defined(global_parts_info.resourceschedule_memmgr_override) || 69 defined(global_parts_info.resourceschedule_memmgr))) { 70 cite_memmgr = true 71 } 72} 73 74declare_args() { 75 res_schedule_service = false 76 if (defined(global_parts_info) && 77 defined(global_parts_info.resourceschedule_resource_schedule_service)) { 78 res_schedule_service = true 79 } 80} 81 82declare_args() { 83 theme_mgr_enable = false 84 if (defined(global_parts_info) && 85 defined(global_parts_info.theme_theme_mgr)) { 86 theme_mgr_enable = true 87 } 88} 89 90declare_args() { 91 form_runtime_power = true 92 if (defined(global_parts_info) && 93 !defined(global_parts_info.powermgr_power_manager)) { 94 form_runtime_power = false 95 } 96} 97 98declare_args() { 99 hiappevent_global_part_enabled = false 100 if (defined(global_parts_info) && 101 defined(global_parts_info.hiviewdfx_hiappevent)) { 102 hiappevent_global_part_enabled = true 103 } 104}