mirror of
https://gitee.com/openharmony/third_party_libbpf
synced 2024-12-04 00:52:46 +00:00
适配zlib修改
Signed-off-by: ganchuantao <ganchuantao1@huawei.com> Change-Id: Idaf9589d49a22c13020b648296234db5c496b13a
This commit is contained in:
parent
46c74f343c
commit
fc3387980a
7
BUILD.gn
7
BUILD.gn
@ -44,7 +44,6 @@ config("libbpf_public_config") {
|
||||
"./src",
|
||||
"./include",
|
||||
"./include/uapi",
|
||||
"//third_party/zlib",
|
||||
"//third_party/elfio/c_wrapper",
|
||||
"//third_party/elfio/elfio",
|
||||
]
|
||||
@ -52,10 +51,8 @@ config("libbpf_public_config") {
|
||||
|
||||
ohos_shared_library("libbpf") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
deps = [
|
||||
"//third_party/elfio:elfio",
|
||||
"//third_party/zlib:libz",
|
||||
]
|
||||
deps = [ "//third_party/elfio:elfio" ]
|
||||
external_deps = [ "zlib:libz" ]
|
||||
sources = [
|
||||
"./src/bpf.c",
|
||||
"./src/bpf.h",
|
||||
|
@ -21,11 +21,8 @@
|
||||
"rom": "",
|
||||
"ram": "",
|
||||
"deps": {
|
||||
"components": [],
|
||||
"third_party": [
|
||||
"elfio",
|
||||
"zlib"
|
||||
]
|
||||
"components": [ "zlib" ],
|
||||
"third_party": [ "elfio" ]
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
|
Loading…
Reference in New Issue
Block a user