Use header module bpf_syscall_wrappers
Use the versioned header library instead of just including
the header files.
Test: atest BpfMapTest
Change-Id: Icf23dcdc051a4ead6a7c6e925159cdc27f49eac2
diff --git a/Tethering/Android.bp b/Tethering/Android.bp
index 5edcfe3..761e098 100644
--- a/Tethering/Android.bp
+++ b/Tethering/Android.bp
@@ -60,10 +60,7 @@
"com.android.tethering",
],
min_sdk_version: "30",
- include_dirs: [
- // TODO: use the libbpf_android_headers instead of just including the header files.
- "system/bpf/libbpf_android/include/",
- ],
+ header_libs: ["bpf_syscall_wrappers"],
srcs: [
"jni/*.cpp",
],