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