2021-06-01 16:05:29 +00:00
|
|
|
# Copyright (c) 2021 Huawei Device Co., Ltd.
|
|
|
|
# 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:54:26 +00:00
|
|
|
ability_runtime_path = "//foundation/ability/ability_runtime"
|
2022-06-28 06:32:23 +00:00
|
|
|
ability_runtime_innerkits_path = "${ability_runtime_path}/interfaces/inner_api"
|
2021-06-01 16:05:29 +00:00
|
|
|
|
2022-06-08 09:23:08 +00:00
|
|
|
appexecfwk_path = "//foundation/bundlemanager/bundle_framework"
|
2021-06-01 16:05:29 +00:00
|
|
|
common_path = "${appexecfwk_path}/common"
|
|
|
|
services_path = "${appexecfwk_path}/services"
|
2022-05-05 07:03:11 +00:00
|
|
|
kits_path = "${appexecfwk_path}/interfaces/kits"
|
2022-05-09 11:53:38 +00:00
|
|
|
inner_api_path = "${appexecfwk_path}/interfaces/inner_api"
|
2021-06-01 16:05:29 +00:00
|
|
|
tools_path = "${appexecfwk_path}/tools"
|
2022-06-08 09:23:08 +00:00
|
|
|
|
2022-04-12 01:51:49 +00:00
|
|
|
use_pre_bundle_profile = false
|
2022-06-08 09:23:08 +00:00
|
|
|
|
2022-03-04 11:40:43 +00:00
|
|
|
declare_args() {
|
|
|
|
bundle_framework_graphics = true
|
2022-04-08 12:37:14 +00:00
|
|
|
bundle_framework_free_install = true
|
2022-06-06 03:19:38 +00:00
|
|
|
bundle_framework_default_app = true
|
2022-07-12 02:31:01 +00:00
|
|
|
bundle_framework_launcher = true
|
|
|
|
bundle_framework_sandbox_app = true
|
2022-03-20 03:12:52 +00:00
|
|
|
|
2022-04-07 13:52:54 +00:00
|
|
|
ability_runtime_enable = true
|
2022-03-26 07:19:58 +00:00
|
|
|
account_enable = true
|
|
|
|
configpolicy_enable = true
|
2022-03-24 03:46:30 +00:00
|
|
|
device_manager_enable = true
|
2022-04-14 07:54:40 +00:00
|
|
|
global_resmgr_enable = true
|
2022-03-20 03:12:52 +00:00
|
|
|
hicollie_enable = true
|
2022-04-22 03:24:56 +00:00
|
|
|
hisysevent_enable = true
|
2022-06-30 12:49:22 +00:00
|
|
|
bms_rdb_enable = false
|
2022-03-20 03:12:52 +00:00
|
|
|
|
2022-04-07 13:52:54 +00:00
|
|
|
if (defined(global_parts_info) &&
|
2022-06-11 02:55:34 +00:00
|
|
|
!defined(global_parts_info.ability_ability_runtime)) {
|
2022-04-07 13:52:54 +00:00
|
|
|
ability_runtime_enable = false
|
2022-04-08 12:37:14 +00:00
|
|
|
bundle_framework_free_install = false
|
2022-04-07 13:52:54 +00:00
|
|
|
}
|
|
|
|
|
2022-03-20 03:12:52 +00:00
|
|
|
if (defined(global_parts_info) &&
|
2022-05-05 08:02:31 +00:00
|
|
|
!defined(global_parts_info.account_os_account)) {
|
2022-03-26 07:19:58 +00:00
|
|
|
account_enable = false
|
2022-04-08 12:37:14 +00:00
|
|
|
bundle_framework_free_install = false
|
2022-03-26 07:19:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.customization_config_policy)) {
|
|
|
|
configpolicy_enable = false
|
2022-03-20 03:12:52 +00:00
|
|
|
}
|
|
|
|
|
2022-03-24 03:46:30 +00:00
|
|
|
if (defined(global_parts_info) &&
|
2022-06-09 02:44:41 +00:00
|
|
|
!defined(global_parts_info.distributedhardware_device_manager)) {
|
2022-03-24 03:46:30 +00:00
|
|
|
device_manager_enable = false
|
|
|
|
}
|
|
|
|
|
2022-04-14 07:54:40 +00:00
|
|
|
if (defined(global_parts_info) &&
|
2022-04-28 12:27:58 +00:00
|
|
|
!defined(global_parts_info.global_resource_management)) {
|
2022-04-14 08:46:10 +00:00
|
|
|
global_resmgr_enable = false
|
2022-04-14 07:54:40 +00:00
|
|
|
}
|
|
|
|
|
2022-03-26 07:19:58 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.hiviewdfx_hicollie_native)) {
|
|
|
|
hicollie_enable = false
|
|
|
|
}
|
|
|
|
|
2022-04-08 12:37:14 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
(!defined(global_parts_info.powermgr_power_manager_native) ||
|
|
|
|
!defined(global_parts_info.powermgr_battery_manager_native) ||
|
2022-06-20 11:15:10 +00:00
|
|
|
!defined(global_parts_info.powermgr_display_manager_native) ||
|
2022-06-22 11:59:33 +00:00
|
|
|
!defined(global_parts_info.resourceschedule_device_usage_statistics))) {
|
2022-04-08 12:37:14 +00:00
|
|
|
bundle_framework_free_install = false
|
|
|
|
}
|
|
|
|
|
2022-04-22 03:24:56 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.hiviewdfx_hisysevent_native)) {
|
|
|
|
hisysevent_enable = false
|
|
|
|
}
|
|
|
|
|
2022-06-30 12:49:22 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.distributeddatamgr_relational_store)) {
|
|
|
|
bms_rdb_enable = false
|
|
|
|
}
|
|
|
|
|
2022-03-18 06:58:26 +00:00
|
|
|
print("bundle_framework_graphics = " + "$bundle_framework_graphics")
|
2022-04-08 12:37:14 +00:00
|
|
|
print("bundle_framework_free_install = " + "$bundle_framework_free_install")
|
2022-06-06 03:19:38 +00:00
|
|
|
print("bundle_framework_default_app = " + "$bundle_framework_default_app")
|
2022-07-12 02:31:01 +00:00
|
|
|
print("bundle_framework_launcher = " + "$bundle_framework_launcher")
|
|
|
|
print("bundle_framework_sandbox_app = " + "$bundle_framework_sandbox_app")
|
2022-04-07 13:52:54 +00:00
|
|
|
print("ability_runtime_enable = " + "$ability_runtime_enable")
|
2022-03-26 07:19:58 +00:00
|
|
|
print("account_enable = " + "$account_enable")
|
|
|
|
print("configpolicy_enable = " + "$configpolicy_enable")
|
2022-03-24 03:46:30 +00:00
|
|
|
print("device_manager_enable = " + "$device_manager_enable")
|
2022-04-14 07:54:40 +00:00
|
|
|
print("global_resmgr_enable = " + "$global_resmgr_enable")
|
2022-03-20 03:12:52 +00:00
|
|
|
print("hicollie_enable = " + "$hicollie_enable")
|
|
|
|
print("support_jsapi = " + "$support_jsapi")
|
2022-04-22 03:24:56 +00:00
|
|
|
print("hisysevent_enable = " + "$hisysevent_enable")
|
2022-06-30 12:49:22 +00:00
|
|
|
print("bms_rdb_enable = " + "$bms_rdb_enable")
|
2022-03-04 11:40:43 +00:00
|
|
|
}
|