Decoupling the dsoftbus from the msdp

Signed-off-by: gaoxingye <gaoxingye@huawei.com>
This commit is contained in:
gaoxingye 2022-11-01 11:19:42 +08:00
parent 298db8534b
commit e0d26cebdf

View File

@ -188,7 +188,7 @@ if (defined(ohos_lite)) {
],
"value")
if (enhanced_range) {
if (enhanced_range && defined(global_parts_info.msdp_algorithm)) {
include_dirs += [ "//base/msdp/algorithm/ble_range/include" ]
sources += [ "$dsoftbus_root_path/dsoftbus_enhance/adapter/common/range/softbus_adapter_range.c" ]
public_deps += [ "//base/msdp/algorithm/ble_range:msdp_ble_range" ]