bpfloader: remove pointless dependency on libnetdutils am: 0d1d07c1b0 am: 0133896d6c am: f320624f27 am: aebdb6c0c8 am: e56c0a2366
Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2777980
Change-Id: Ia4aa03ef5489997e2090448adcbf860b5c53d440
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"