From fc3387980a79807d7102947f2186a22721a2fa0c Mon Sep 17 00:00:00 2001 From: ganchuantao Date: Wed, 23 Oct 2024 12:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8Dzlib=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ganchuantao Change-Id: Idaf9589d49a22c13020b648296234db5c496b13a --- BUILD.gn | 7 ++----- bundle.json | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index c308ba8..7aff8f3 100644 --- a/BUILD.gn +++ b/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", diff --git a/bundle.json b/bundle.json index 56fca2d..b5e8c69 100644 --- a/bundle.json +++ b/bundle.json @@ -21,11 +21,8 @@ "rom": "", "ram": "", "deps": { - "components": [], - "third_party": [ - "elfio", - "zlib" - ] + "components": [ "zlib" ], + "third_party": [ "elfio" ] }, "build": { "sub_component": [], -- Gitee