1# Copyright (c) 2022-2024 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 14bundlemanager_path = "//foundation/bundlemanager" 15bundle_framework_path = "${bundlemanager_path}/bundle_framework" 16fuzz_test_path = "distributed_bundle_framework/distributed_bundle_framework" 17common_path = "${bundle_framework_path}/common" 18dbms_inner_api_path = 19 "${bundlemanager_path}/distributed_bundle_framework/interfaces/inner_api" 20dbms_services_path = 21 "${bundlemanager_path}/distributed_bundle_framework/services/dbms" 22distributeddatamgr_path = "//foundation/distributeddatamgr" 23kits_path = "${bundle_framework_path}/interfaces/kits" 24 25declare_args() { 26 distributed_bundle_framework_graphics = true 27 28 ability_runtime_enable_dbms = true 29 account_enable_dbms = true 30 distributed_bundle_framework_enable = true 31 hisysevent_enable_dbms = true 32 distributed_bundle_image_framework_enable = true 33 34 if (defined(global_parts_info) && 35 !defined(global_parts_info.ability_ability_runtime)) { 36 ability_runtime_enable_dbms = false 37 } 38 39 if (defined(global_parts_info) && 40 !defined(global_parts_info.account_os_account)) { 41 account_enable_dbms = false 42 } 43 44 if (defined(global_parts_info) && 45 !defined(global_parts_info.bundlemanager_distributed_bundle_framework)) { 46 distributed_bundle_framework_enable = false 47 } 48 49 if (defined(global_parts_info) && 50 !defined(global_parts_info.hiviewdfx_hisysevent)) { 51 hisysevent_enable_dbms = false 52 } 53 54 if (defined(global_parts_info) && 55 !defined(global_parts_info.multimedia_image_framework)) { 56 distributed_bundle_image_framework_enable = false 57 } 58} 59 60print("distributed_bundle_framework_graphics = " + 61 "$distributed_bundle_framework_graphics") 62print("ability_runtime_enable_dbms = " + "$ability_runtime_enable_dbms") 63print("account_enable_dbms = " + "$account_enable_dbms") 64print("distributed_bundle_framework_enable = " + 65 "$distributed_bundle_framework_enable") 66print("hisysevent_enable_dbms = " + "$hisysevent_enable_dbms") 67print("distributed_bundle_image_framework_enable = " + 68 "$distributed_bundle_image_framework_enable") 69