diff --git a/BUILD.gn b/BUILD.gn index 7aff8f3a40d6c17e39c98fcd6efcbca252a00887..6a749e02774f152df6dd59411120b1e85372f7ce 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 b5e8c690218d4f8fb8fc812013e37fa4e47c712f..8b76244f5341cc2b5ce953e804d1815a8b7a26b4 100644 --- a/bundle.json +++ b/bundle.json @@ -21,8 +21,8 @@ "rom": "", "ram": "", "deps": { - "components": [ "zlib" ], - "third_party": [ "elfio" ] + "components": [ "zlib", "elfio" ], + "third_party": [] }, "build": { "sub_component": [],