fix: modify features define

Signed-off-by: hobbycao <caohui10@huawei.com>
This commit is contained in:
hobbycao 2023-05-31 16:02:02 +08:00
parent e5909f4979
commit 43285f52a3
4 changed files with 5 additions and 4 deletions

View File

@ -23,7 +23,8 @@
"dmsfwk_standard_form_share",
"dmsfwk_mission_manager",
"dmsfwk_report_memmgr",
"dmsfwk_report_memmgr_plugins"
"dmsfwk_report_memmgr_plugins",
"dmsfwk_softbus_adapter_common"
],
"hisysevent_config": [
"//foundation/ability/dmsfwk/hisysevent.yaml"

View File

@ -19,7 +19,7 @@ declare_args() {
efficiency_manager_service_enable = false
dmsfwk_report_memmgr = false
dmsfwk_report_memmgr_plugins = false
distributed_sched_softbus_adapter_common = true
dmsfwk_softbus_adapter_common = true
if (defined(global_parts_info)) {
if (defined(global_parts_info.multimedia_multimedia_image_framework)) {
dmsfwk_mission_manager = true

View File

@ -80,7 +80,7 @@ ohos_shared_library("distributedschedsvr") {
"src/dtbschedmgr_device_info_storage.cpp",
]
if (!distributed_sched_softbus_adapter_common) {
if (!dmsfwk_softbus_adapter_common) {
sources += [ "src/softbus_adapter/softbus_adapter.cpp" ]
} else {
sources += [ "src/softbus_adapter/softbus_adapter_common.cpp" ]

View File

@ -124,7 +124,7 @@ dtbschedmgr_sources = [
"unittest/distributed_sched_util.cpp",
]
if (!distributed_sched_softbus_adapter_common) {
if (!dmsfwk_softbus_adapter_common) {
dtbschedmgr_sources += [ "${distributed_service}/dtbschedmgr/src/softbus_adapter/softbus_adapter.cpp" ]
} else {
dtbschedmgr_sources += [ "${distributed_service}/dtbschedmgr/src/softbus_adapter/softbus_adapter_common.cpp" ]