mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
add lite system build of syscap_tool_shared.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: I5ad4880847b8519a298ec0256f3871b3fbb45818
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