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"
|
|
|
|
aafwk_napi_path = "${ability_runtime_path}/frameworks/js/napi/aafwk"
|
2022-06-17 10:11:57 +00:00
|
|
|
ability_base_path = "//foundation/ability/ability_base"
|
|
|
|
form_fwk_path = "//foundation/ability/form_fwk"
|
2022-06-20 08:45:47 +00:00
|
|
|
innerkits_path = "${ability_runtime_path}/interfaces/inner_api"
|
|
|
|
kits_path = "${ability_runtime_path}/frameworks/kits"
|
|
|
|
services_path = "${ability_runtime_path}/services"
|
2022-05-31 01:06:40 +00:00
|
|
|
system_test_app_path =
|
2022-06-20 08:45:47 +00:00
|
|
|
"${ability_runtime_path}/test/resource/amssystemtestability/abilitySrc"
|
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_innerkits_path = "${bundlefwk_path}/interfaces/innerkits"
|
|
|
|
bundlefwk_inner_api_path = "${bundlefwk_path}/interfaces/inner_api"
|
|
|
|
|
2022-04-26 01:54:35 +00:00
|
|
|
multimedia_path = "//foundation/multimedia/image_standard"
|
|
|
|
multimodalinput_path = "//foundation/multimodalinput/input"
|
|
|
|
windowmanager_path = "//foundation/windowmanager"
|
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"
|
|
|
|
distributedschedule_path = "//foundation/distributedschedule"
|
|
|
|
notification_path = "//base/notification"
|
2022-05-20 10:35:10 +00:00
|
|
|
ans_core_path =
|
2022-05-31 01:06:40 +00:00
|
|
|
"${notification_path}/distributed_notification_service/frameworks/core"
|
|
|
|
distributeddatamgr_path = "//foundation/distributeddatamgr"
|
2022-06-09 07:12:04 +00:00
|
|
|
form_fwk_napi_path = "${form_fwk_path}/frameworks/js/napi"
|
2022-05-19 13:29:16 +00:00
|
|
|
ability_base_innerapi_path = "${ability_base_path}/interfaces/inner_api"
|
|
|
|
ability_base_native_path = "${ability_base_path}/frameworks/native"
|
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-03-11 06:57:28 +00:00
|
|
|
distributed_data_object_enable = true
|
2022-05-08 15:48:04 +00:00
|
|
|
ability_runtime_graphics = true
|
|
|
|
ability_runtime_power = true
|
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
|
|
|
|
}
|
|
|
|
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
|
|
|
|
|
|
|
if (defined(global_parts_info) &&
|
2022-05-06 07:55:58 +00:00
|
|
|
!defined(global_parts_info.distributeddatamgr_distributeddataobject)) {
|
2022-03-11 06:57:28 +00:00
|
|
|
distributed_data_object_enable = false
|
|
|
|
}
|
2022-03-10 07:01:45 +00:00
|
|
|
}
|