mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
!421 syscap_codec绝对路径三方库的整改
Merge pull request !421 from xingyuanfeng/master
This commit is contained in:
@@ -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
@@ -22,12 +22,11 @@
|
||||
"ram": "0",
|
||||
"deps": {
|
||||
"components": [
|
||||
"napi"
|
||||
],
|
||||
"third_party": [
|
||||
"napi",
|
||||
"bounds_checking_function",
|
||||
"cJSON"
|
||||
]
|
||||
],
|
||||
"third_party": []
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
|
||||
+5
-6
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user