mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
!28 为轻量系统添加 libsyscap_tool_shared.z.sp 编译配置。
Merge pull request !28 from chenyude/pcid-3
This commit is contained in:
@@ -94,21 +94,31 @@ ohos_shared_library("syscap_tool_shared") {
|
||||
part_name = "syscap_codec"
|
||||
}
|
||||
|
||||
ohos_shared_library("syscap_interface_shared") {
|
||||
include_dirs = [ "./interfaces/inner_api/" ]
|
||||
public_configs = [ ":pubilc" ]
|
||||
sources = [ "./interfaces/inner_api/syscap_interface.c" ]
|
||||
if (defined(ohos_lite)) {
|
||||
shared_library("syscap_interface_shared") {
|
||||
include_dirs = [ "./interfaces/inner_api/" ]
|
||||
public_configs = [ ":pubilc" ]
|
||||
sources = [ "./interfaces/inner_api/syscap_interface.c" ]
|
||||
|
||||
deps = [ "//third_party/bounds_checking_function:libsec_static" ]
|
||||
|
||||
if (defined(ohos_lite)) {
|
||||
deps += [ "//build/lite/config/component/cJSON:cjson_static" ]
|
||||
} else {
|
||||
deps += [ "//third_party/cJSON:cjson_static" ]
|
||||
deps = [
|
||||
"//build/lite/config/component/cJSON:cjson_static",
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
]
|
||||
}
|
||||
} else {
|
||||
ohos_shared_library("syscap_interface_shared") {
|
||||
include_dirs = [ "./interfaces/inner_api/" ]
|
||||
public_configs = [ ":pubilc" ]
|
||||
sources = [ "./interfaces/inner_api/syscap_interface.c" ]
|
||||
|
||||
subsystem_name = "developtools"
|
||||
part_name = "syscap_codec"
|
||||
deps = [
|
||||
"//third_party/bounds_checking_function:libsec_static",
|
||||
"//third_party/cJSON:cjson_static",
|
||||
]
|
||||
|
||||
subsystem_name = "developtools"
|
||||
part_name = "syscap_codec"
|
||||
}
|
||||
}
|
||||
|
||||
group("syscap_tool_bin_linux") {
|
||||
|
||||
Reference in New Issue
Block a user