fix:modify build.gn

Signed-off-by: fangdong7 <fangdong7@huawei.com>
This commit is contained in:
fangdong7
2023-07-29 10:21:21 +00:00
parent 16d85633ea
commit 53348962cc
2 changed files with 31 additions and 3 deletions
+3 -3
View File
@@ -137,13 +137,13 @@ if (defined(ohos_lite)) {
"//third_party/bounds_checking_function:libsec_shared",
]
public_configs = [ ":libcoap_config" ]
subsystem_name = "communication"
subsystem_name = "thirdparty"
innerapi_tags = [ "platformsdk_indirect" ]
if (defined(oem_commercial_build) && oem_commercial_build) {
part_name = "softbus"
part_name = "libcoap"
} else {
defines = [ "STANDARD_SYSTEM_ENABLE" ]
part_name = "dsoftbus"
part_name = "libcoap"
}
}
}
+28
View File
@@ -0,0 +1,28 @@
{
"name": "@ohos/libcoap",
"description": "The libcoap is a C implementation of a lightweight application-protocol for devices that are constrained their resources such as computing power, RF range, memory, bandwidth, or network packet sizes.",
"version": "3.1",
"license": "libcoap license",
"publishAs": "code-segment",
"segment": {
"destPath": "third_party/libcoap"
},
"dirs": {},
"scripts": {},
"component": {
"name": "libcoap",
"subsystem": "thirdparty",
"syscap": [],
"features": [],
"adapted_system_type": [ "mini", "small", "standard" ],
"deps": {
"components": [],
"third_party": []
},
"build": {
"sub_component": [],
"inner_kits": [],
"test": []
}
}
}