commit | 27757c3cc60f6414e0d016bcb0aee823f9ec020b | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Thu Aug 22 19:41:51 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 22 19:41:51 2024 +0000 |
tree | a623f528023700c747b1ba4bf8b28b284d8a36aa | |
parent | b15650cb549cc83f4ee6798f9ebe37e7ab125344 [diff] | |
parent | 62fe32b268801821c157fd3f41c6fe88a15695f6 [diff] |
Merge "bpf: move bpf_headers into /bpf subdirectory" into main am: 9bcff716f2 am: 62fe32b268 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3236918 Change-Id: Ief6c051aac9492a3d7fc5454e52866f0f15020a3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/staticlibs/native/bpf_headers/Android.bp b/bpf/headers/Android.bp similarity index 100% rename from staticlibs/native/bpf_headers/Android.bp rename to bpf/headers/Android.bp
diff --git a/staticlibs/native/bpf_headers/BpfMapTest.cpp b/bpf/headers/BpfMapTest.cpp similarity index 100% rename from staticlibs/native/bpf_headers/BpfMapTest.cpp rename to bpf/headers/BpfMapTest.cpp
diff --git a/staticlibs/native/bpf_headers/BpfRingbufTest.cpp b/bpf/headers/BpfRingbufTest.cpp similarity index 100% rename from staticlibs/native/bpf_headers/BpfRingbufTest.cpp rename to bpf/headers/BpfRingbufTest.cpp
diff --git a/staticlibs/native/bpf_headers/TEST_MAPPING b/bpf/headers/TEST_MAPPING similarity index 100% rename from staticlibs/native/bpf_headers/TEST_MAPPING rename to bpf/headers/TEST_MAPPING
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfClassic.h b/bpf/headers/include/bpf/BpfClassic.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/BpfClassic.h rename to bpf/headers/include/bpf/BpfClassic.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfMap.h b/bpf/headers/include/bpf/BpfMap.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/BpfMap.h rename to bpf/headers/include/bpf/BpfMap.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfRingbuf.h b/bpf/headers/include/bpf/BpfRingbuf.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/BpfRingbuf.h rename to bpf/headers/include/bpf/BpfRingbuf.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h b/bpf/headers/include/bpf/BpfUtils.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/BpfUtils.h rename to bpf/headers/include/bpf/BpfUtils.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/KernelUtils.h b/bpf/headers/include/bpf/KernelUtils.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/KernelUtils.h rename to bpf/headers/include/bpf/KernelUtils.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/WaitForProgsLoaded.h b/bpf/headers/include/bpf/WaitForProgsLoaded.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/WaitForProgsLoaded.h rename to bpf/headers/include/bpf/WaitForProgsLoaded.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/bpf_helpers.h b/bpf/headers/include/bpf_helpers.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/bpf_helpers.h rename to bpf/headers/include/bpf_helpers.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/bpf_map_def.h b/bpf/headers/include/bpf_map_def.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/bpf_map_def.h rename to bpf/headers/include/bpf_map_def.h
diff --git a/bpf/loader/NetBpfLoad.cpp b/bpf/loader/NetBpfLoad.cpp index 00362b4..a10c9e3 100644 --- a/bpf/loader/NetBpfLoad.cpp +++ b/bpf/loader/NetBpfLoad.cpp
@@ -60,7 +60,7 @@ #include "BpfSyscallWrappers.h" #include "bpf/BpfUtils.h" -#include "bpf/bpf_map_def.h" +#include "bpf_map_def.h" using android::base::EndsWith; using android::base::StartsWith;