!421 syscap_codec绝对路径三方库的整改

Merge pull request !421 from xingyuanfeng/master
This commit is contained in:
openharmony_ci
2024-05-17 03:57:49 +00:00
committed by Gitee
3 changed files with 13 additions and 15 deletions
+5 -5
View File
@@ -53,12 +53,12 @@ ohos_executable("syscap_tool_bin") {
sources = [ "./src/main.c" ]
sources += sources_platform_common
deps += [ "//third_party/bounds_checking_function:libsec_static" ]
external_deps = [ "bounds_checking_function:libsec_static" ]
if (defined(ohos_lite)) {
deps += [ "//build/lite/config/component/cJSON:cjson_static" ]
} else {
deps += [ "//third_party/cJSON:cjson_static" ]
external_deps += [ "cJSON:cjson_static" ]
}
subsystem_name = "developtools"
@@ -122,9 +122,9 @@ if (defined(ohos_lite)) {
"./src/endian_internal.c",
"./src/syscap_tool.c",
]
deps += [
"//third_party/bounds_checking_function:libsec_static",
"//third_party/cJSON:cjson_static",
external_deps = [
"bounds_checking_function:libsec_static",
"cJSON:cjson_static",
]
subsystem_name = "developtools"
+3 -4
View File
@@ -22,12 +22,11 @@
"ram": "0",
"deps": {
"components": [
"napi"
],
"third_party": [
"napi",
"bounds_checking_function",
"cJSON"
]
],
"third_party": []
},
"build": {
"sub_component": [
+5 -6
View File
@@ -42,9 +42,10 @@ ohos_shared_library("systemcapability") {
sources = [ "napi_query_syscap.cpp" ]
sources += sources_platform_common
deps = [
":query_syscap_js",
"//third_party/bounds_checking_function:libsec_static",
deps = [ ":query_syscap_js" ]
external_deps = [
"bounds_checking_function:libsec_static",
"napi:ace_napi",
]
if (syscap_codec_config_extern_path != "") {
@@ -54,12 +55,10 @@ ohos_shared_library("systemcapability") {
cflags = [ "-DSYSCAP_DEFINE_EXTERN_ENABLE" ]
}
external_deps = [ "napi:ace_napi" ]
if (defined(ohos_lite)) {
deps += [ "//build/lite/config/component/cJSON:cjson_static" ]
} else {
deps += [ "//third_party/cJSON:cjson_static" ]
external_deps += [ "cJSON:cjson_static" ]
}
relative_install_dir = "module"