mirror of
https://gitee.com/openharmony/developtools_hdc
synced 2024-11-23 23:20:43 +00:00
mod build.gn
Signed-off-by: 李帅 <leo.lishuai@huawei.com>
This commit is contained in:
parent
8c1984f194
commit
9594cef5ad
@ -27,7 +27,10 @@
|
||||
"ability_base",
|
||||
"ability_runtime",
|
||||
"window_manager",
|
||||
"ylong_runtime"
|
||||
"ylong_runtime",
|
||||
"bounds_checking_function",
|
||||
"lz4",
|
||||
"selinux"
|
||||
],
|
||||
"third_party": [
|
||||
"libuv",
|
||||
|
@ -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" ]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user