!1072 fix: 组件弹性化部署,在bundle.json 中声明所依赖组建

Merge pull request !1072 from zhangshaocheng/fix_bundle_json
This commit is contained in:
openharmony_ci 2023-06-20 07:14:15 +00:00 committed by Gitee
commit 79640a3c1c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 36 additions and 15 deletions

View File

@ -1,5 +1,5 @@
{
"name": "@ohos/communication_wifi",
"name": "communication",
"version": "3.1.0",
"description": "The WLAN module provides basic WLAN functions, peer-to-peer (P2P) connection, and WLAN notification, enabling your application to communicate with other devices through a WLAN.",
"homePage": "https://gitee.com/openharmony",
@ -65,18 +65,30 @@
"ram": "",
"deps": {
"components": [
"ipc",
"ces_standard",
"hiviewdfx_hilog_native",
"ability_base",
"ability_runtime",
"access_token",
"bundle_framework",
"c_utils",
"certificate_manager",
"common_event_service",
"dhcp",
"drivers_interface_wlan",
"efficiency_manager",
"eventhandler",
"hicollie_native",
"hisysevent_native",
"netmanager_base"
"hiviewdfx_hilog_native",
"huks",
"ipc",
"napi",
"netmanager_base",
"safwk",
"samgr"
],
"third_party": [
"wpa_supplicant",
"node",
"bounds_checking_function",
"googletest",
"openssl"
"wpa_supplicant-2.9"
]
},
"build": {

View File

@ -84,8 +84,11 @@ if (defined(ohos_lite)) {
"//base/hiviewdfx/hilog/interfaces/native/innerkits/include",
]
cflags_cc = [ "-fno-rtti" ]
deps = [ "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog" ]
external_deps = [ "c_utils:utils" ]
deps = []
external_deps = [
"c_utils:utils",
"hiviewdfx_hilog_native:libhilog",
]
subsystem_name = "communication"
part_name = "wifi"
}
@ -99,8 +102,11 @@ if (defined(ohos_lite)) {
"$WIFI_ROOT_DIR/services/wifi_standard/wifi_framework/wifi_toolkit/log",
]
cflags_cc = [ "-fno-rtti" ]
deps = [ "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog" ]
external_deps = [ "c_utils:utils" ]
deps = []
external_deps = [
"c_utils:utils",
"hiviewdfx_hilog_native:libhilog",
]
subsystem_name = "communication"
part_name = "wifi"
}

View File

@ -141,9 +141,12 @@ ohos_shared_library("WifiHalVendorTest") {
"$WIFI_ROOT_DIR/services/wifi_standard/wifi_hal",
"$WIFI_ROOT_DIR/services/wifi_standard/wifi_hal/common",
]
deps = [ "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog" ]
deps = []
external_deps = [ "c_utils:utils" ]
external_deps = [
"c_utils:utils",
"hiviewdfx_hilog_native:libhilog",
]
part_name = "wifi"
subsystem_name = "communication"