2022-05-19 13:29:16 +00:00
|
|
|
# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
2021-06-01 16:05:05 +00:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2022-06-20 08:45:47 +00:00
|
|
|
ability_runtime_path = "//foundation/ability/ability_runtime"
|
2022-07-05 01:20:36 +00:00
|
|
|
ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi"
|
2022-06-17 10:11:57 +00:00
|
|
|
ability_base_path = "//foundation/ability/ability_base"
|
|
|
|
form_fwk_path = "//foundation/ability/form_fwk"
|
2022-06-22 12:24:01 +00:00
|
|
|
ability_runtime_innerkits_path = "${ability_runtime_path}/interfaces/inner_api"
|
2022-06-27 02:16:39 +00:00
|
|
|
ability_runtime_native_path = "${ability_runtime_path}/frameworks/native"
|
2022-06-22 12:24:01 +00:00
|
|
|
ability_runtime_services_path = "${ability_runtime_path}/services"
|
2022-07-05 15:27:46 +00:00
|
|
|
ability_runtime_test_path = "${ability_runtime_path}/test"
|
2022-07-07 11:44:05 +00:00
|
|
|
ace_engine_path = "//foundation/arkui/ace_engine"
|
2023-02-17 01:17:32 +00:00
|
|
|
arkui_path = "//foundation/arkui"
|
2022-05-31 01:06:40 +00:00
|
|
|
|
2022-05-19 13:29:16 +00:00
|
|
|
bundlefwk_path = "//foundation/bundlemanager/bundle_framework"
|
2022-05-31 01:06:40 +00:00
|
|
|
bundlefwk_inner_api_path = "${bundlefwk_path}/interfaces/inner_api"
|
|
|
|
|
2022-09-09 08:12:53 +00:00
|
|
|
multimedia_path = "//foundation/multimedia/image_framework"
|
2022-04-26 01:54:35 +00:00
|
|
|
multimodalinput_path = "//foundation/multimodalinput/input"
|
2022-07-09 12:27:59 +00:00
|
|
|
windowmanager_path = "//foundation/window/window_manager"
|
2022-05-17 10:06:38 +00:00
|
|
|
graphic_path = "//foundation/graphic/graphic_2d"
|
2022-04-26 01:54:35 +00:00
|
|
|
global_path = "//base/global"
|
2022-08-05 10:28:17 +00:00
|
|
|
distributedschedule_path = "//foundation/systemabilitymgr"
|
2023-02-17 01:17:32 +00:00
|
|
|
eventhandler_path = "//base/notification/eventhandler"
|
2022-05-31 01:06:40 +00:00
|
|
|
distributeddatamgr_path = "//foundation/distributeddatamgr"
|
2022-06-09 07:12:04 +00:00
|
|
|
form_fwk_napi_path = "${form_fwk_path}/frameworks/js/napi"
|
2022-07-05 09:06:30 +00:00
|
|
|
ability_base_kits_path = "${ability_base_path}/interfaces/kits/native"
|
2022-05-19 13:29:16 +00:00
|
|
|
ability_base_native_path = "${ability_base_path}/frameworks/native"
|
2022-06-21 14:04:30 +00:00
|
|
|
appspawn_path = "//base/startup/appspawn"
|
2022-07-06 02:59:50 +00:00
|
|
|
init_path = "//base/startup/init"
|
2022-08-31 09:26:44 +00:00
|
|
|
ipc_native_path = "//foundation/communication/ipc/ipc/native"
|
2023-02-09 11:53:13 +00:00
|
|
|
third_party_path = "//third_party"
|
2023-04-24 12:12:05 +00:00
|
|
|
eventhandler_path = "//base/notification/eventhandler"
|
|
|
|
hiviewdfx_path = "//base/hiviewdfx/hiview"
|
|
|
|
hilog_path = "//base/hiviewdfx/hilog"
|
|
|
|
webview_path = "//base/web/webview"
|
|
|
|
resource_management_path = "//base/global/resource_management"
|
|
|
|
common_event_service_path = "//base/notification/common_event_service"
|
2023-04-25 09:01:42 +00:00
|
|
|
safwk_path = "//utils/system/safwk"
|
2023-04-25 02:07:17 +00:00
|
|
|
user_file_service_innerkits_path =
|
|
|
|
"//foundation/filemanagement/user_file_service/interfaces/inner_api"
|
|
|
|
resourceschedule_path = "//foundation/resourceschedule"
|
|
|
|
device_usage_statistics_path =
|
|
|
|
"//foundation/resourceschedule/device_usage_statistics"
|
|
|
|
device_manager_path = "//foundation/distributedhardware/device_manager"
|
|
|
|
graphic_2d_path = "//foundation/graphic/graphic_2d"
|
2022-05-16 01:24:19 +00:00
|
|
|
|
2022-03-10 07:01:45 +00:00
|
|
|
declare_args() {
|
|
|
|
background_task_mgr_continuous_task_enable = true
|
2022-08-01 03:16:02 +00:00
|
|
|
resource_schedule_service_enable = true
|
2022-05-08 15:48:04 +00:00
|
|
|
ability_runtime_graphics = true
|
|
|
|
ability_runtime_power = true
|
2022-06-21 14:04:30 +00:00
|
|
|
ability_runtime_relational = true
|
|
|
|
ability_runtime_ces = true
|
|
|
|
ability_runtime_resource = true
|
|
|
|
ability_runtime_appspawn = true
|
2022-07-22 01:46:17 +00:00
|
|
|
efficiency_manager = true
|
2022-11-16 02:02:37 +00:00
|
|
|
ability_command_for_test = false
|
2022-12-08 08:51:07 +00:00
|
|
|
ability_runtime_feature_coverage = false
|
2022-03-10 07:01:45 +00:00
|
|
|
|
2022-05-08 15:48:04 +00:00
|
|
|
if (!defined(global_parts_info) ||
|
|
|
|
defined(global_parts_info.account_os_account)) {
|
|
|
|
os_account_part_enabled = true
|
|
|
|
} else {
|
|
|
|
os_account_part_enabled = false
|
|
|
|
}
|
2022-06-21 14:04:30 +00:00
|
|
|
|
2022-05-08 15:48:04 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.resourceschedule_background_task_mgr)) {
|
2022-03-10 07:01:45 +00:00
|
|
|
background_task_mgr_continuous_task_enable = false
|
|
|
|
}
|
2022-03-11 06:57:28 +00:00
|
|
|
|
2022-08-01 03:16:02 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.resourceschedule_resource_schedule_service)) {
|
|
|
|
resource_schedule_service_enable = false
|
|
|
|
}
|
|
|
|
|
2022-07-08 08:40:40 +00:00
|
|
|
if (defined(global_parts_info) &&
|
2022-07-22 01:46:17 +00:00
|
|
|
!defined(global_parts_info.resourceschedule_efficiency_manager)) {
|
|
|
|
efficiency_manager = false
|
2022-07-08 08:40:40 +00:00
|
|
|
}
|
|
|
|
|
2022-06-21 14:04:30 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.distributeddatamgr_relational_store)) {
|
|
|
|
ability_runtime_relational = false
|
|
|
|
}
|
|
|
|
|
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.notification_common_event_service)) {
|
|
|
|
ability_runtime_ces = false
|
|
|
|
}
|
|
|
|
|
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.global_resource_management)) {
|
|
|
|
ability_runtime_resource = false
|
|
|
|
}
|
|
|
|
|
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.startup_appspawn)) {
|
|
|
|
ability_runtime_appspawn = false
|
|
|
|
}
|
2022-07-01 03:00:12 +00:00
|
|
|
|
|
|
|
if (!defined(global_parts_info) ||
|
|
|
|
defined(global_parts_info.security_dlp_permission_service)) {
|
|
|
|
os_dlp_part_enabled = true
|
|
|
|
} else {
|
|
|
|
os_dlp_part_enabled = false
|
|
|
|
}
|
2022-08-26 03:11:21 +00:00
|
|
|
|
|
|
|
if (!defined(global_parts_info) ||
|
|
|
|
defined(global_parts_info.barrierfree_accessibility)) {
|
|
|
|
accessibility_enable = true
|
|
|
|
} else {
|
|
|
|
accessibility_enable = false
|
|
|
|
}
|
2022-03-10 07:01:45 +00:00
|
|
|
}
|