mirror of
https://gitee.com/openharmony/third_party_libbpf
synced 2024-12-05 01:37:31 +00:00
commit
7c2aad20f7
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