fix:modify gni file

Signed-off-by: koujiaxin <koujiaxin1@huawei.com>
This commit is contained in:
koujiaxin 2023-11-23 14:54:59 +08:00
parent 2bdb50537f
commit 47331785ab
2 changed files with 10 additions and 5 deletions

View File

@ -92,8 +92,10 @@ if (defined(ohos_lite)) {
if (has_ces_part) {
bus_center_adapter_src +=
[ "$adapter_bus_center_path/common_event/lnn_common_event_monitor.cpp" ]
bus_center_adapter_external_deps +=
[ "common_event_service:cesfwk_innerkits" ]
bus_center_adapter_external_deps += [
"ability_base:want",
"common_event_service:cesfwk_innerkits",
]
} else {
bus_center_adapter_src += [ "$adapter_bus_center_path/common_event/lnn_common_event_monitor_virtual.cpp" ]
}
@ -109,7 +111,10 @@ if (defined(ohos_lite)) {
if (dsoftbus_feature_lnn_wifiservice_dependence && has_ces_part) {
bus_center_adapter_src +=
[ "$adapter_bus_center_path/wlan/lnn_wifiservice_monitor.cpp" ]
bus_center_adapter_external_deps += [ "wifi:wifi_sdk" ]
bus_center_adapter_external_deps += [
"ability_base:want",
"wifi:wifi_sdk",
]
} else {
bus_center_adapter_src += [
"$adapter_bus_center_path/wlan/lnn_wifiservice_monitor_virtual.cpp",

View File

@ -59,7 +59,7 @@ if (defined(ohos_lite)) {
bus_center_core_adapter_external_deps += [ "huks:libhukssdk" ]
}
} else {
if (dsoftbus_get_devicename == false) {
if (!dsoftbus_get_devicename) {
bus_center_core_adapter_src += [ "$dsoftbus_root_path/core/adapter/bus_center/src/lnn_settingdata_event_monitor_virtual.cpp" ]
bus_center_core_adapter_inc +=
[ "$dsoftbus_root_path/core/adapter/bus_center/include" ]
@ -82,7 +82,7 @@ if (defined(ohos_lite)) {
"relational_store:native_rdb",
]
}
if (softbus_os_account == true) {
if (softbus_os_account) {
bus_center_core_adapter_src += [
"$dsoftbus_root_path/core/adapter/bus_center/src/lnn_ohos_account.cpp",
"$dsoftbus_root_path/core/adapter/bus_center/src/lnn_ohos_account_adapter.cpp",