bpfloader: remove pointless dependency on libnetdutils am: 0d1d07c1b0
Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2777980
Change-Id: Ic14a52c39cde87910dc89e262ebd8093fb691456
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/bpfloader/Android.bp b/bpfloader/Android.bp
index 18954eb..b8c6514 100644
--- a/bpfloader/Android.bp
+++ b/bpfloader/Android.bp
@@ -40,11 +40,10 @@
header_libs: ["bpf_headers"],
shared_libs: [
- "libcutils",
- "libbpf_android",
"libbase",
+ "libbpf_android",
+ "libcutils",
"liblog",
- "libnetdutils",
],
srcs: [
"BpfLoader.cpp",
diff --git a/bpfloader/BpfLoader.cpp b/bpfloader/BpfLoader.cpp
index 99a2ab4..d476a48 100644
--- a/bpfloader/BpfLoader.cpp
+++ b/bpfloader/BpfLoader.cpp
@@ -46,8 +46,6 @@
#include <android-base/unique_fd.h>
#include <libbpf_android.h>
#include <log/log.h>
-#include <netdutils/Misc.h>
-#include <netdutils/Slice.h>
#include "BpfSyscallWrappers.h"
#include "bpf/BpfUtils.h"