diff --git a/BUILD.gn b/BUILD.gn index 7aff8f3a40d6c17e39c98fcd6efcbca252a00887..f652632ab178074737215f143498c750d1c41947 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -44,15 +44,15 @@ config("libbpf_public_config") { "./src", "./include", "./include/uapi", - "//third_party/elfio/c_wrapper", - "//third_party/elfio/elfio", ] } ohos_shared_library("libbpf") { branch_protector_ret = "pac_ret" - deps = [ "//third_party/elfio:elfio" ] - external_deps = [ "zlib:libz" ] + external_deps = [ + "elfio:elfio", + "zlib:libz" + ] sources = [ "./src/bpf.c", "./src/bpf.h", diff --git a/bundle.json b/bundle.json index fe59b906ef50c6810e287d6c04baf588616486c8..9b1a0a905ac51ff5b9c984459f2773e11d7545fe 100644 --- a/bundle.json +++ b/bundle.json @@ -21,8 +21,10 @@ "rom": "", "ram": "", "deps": { - "components": [ "zlib" ], - "third_party": [ "elfio" ] + "components": [ + "elfio", + "zlib" + ] }, "build": { "sub_component": [],