add lite system build of syscap_tool_shared.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I5ad4880847b8519a298ec0256f3871b3fbb45818
This commit is contained in:
yudechen
2022-04-28 19:05:22 +08:00
parent bd07011106
commit f94ff789cd
+22 -12
View File
@@ -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") {