mod build.gn

Signed-off-by: 李帅 <leo.lishuai@huawei.com>
This commit is contained in:
李帅 2024-03-05 06:58:55 +00:00
parent 8c1984f194
commit 9594cef5ad
2 changed files with 7 additions and 12 deletions

View File

@ -27,7 +27,10 @@
"ability_base",
"ability_runtime",
"window_manager",
"ylong_runtime"
"ylong_runtime",
"bounds_checking_function",
"lz4",
"selinux"
],
"third_party": [
"libuv",

View File

@ -32,18 +32,11 @@ ohos_static_library("serialize_structs") {
]
output_extension = "so"
include_dirs = [
"//third_party/bounds_checking_function/include",
"//third_party/lz4/lib",
]
deps = [
"//third_party/bounds_checking_function:libsec_static",
"//third_party/lz4:liblz4_static",
]
external_deps = [
"hilog:libhilog",
"init:libbegetutil",
"bounds_checking_function:libsec_static",
"lz4:liblz4_static",
]
defines = [ "HDC_HILOG" ]
@ -53,8 +46,7 @@ ohos_static_library("serialize_structs") {
}
if (build_selinux) {
deps += [ "//third_party/selinux:libselinux" ]
include_dirs += [ "//third_party/selinux/libselinux/include" ]
external_deps += [ "selinux:libselinux" ]
defines += [ "SURPPORT_SELINUX" ]
}