From 0f1ee4ca8151cfe2823a29fff091ccf3e6f37da5 Mon Sep 17 00:00:00 2001 From: Ken Chen Date: Tue, 21 Dec 2021 15:58:45 +0800 Subject: [PATCH] Rename bpf_map_utils to bpf_headers Use a generic name so that it can contain more bpf related headers. Bug: 202086915 Test: build Change-Id: I5a76948db394d8d7bb6eaedb570a2ca5bc99a289 --- staticlibs/native/{bpf_map_utils => bpf_headers}/Android.bp | 2 +- staticlibs/native/{bpf_map_utils => bpf_headers}/BpfMapTest.cpp | 0 staticlibs/native/{bpf_map_utils => bpf_headers}/TEST_MAPPING | 0 .../native/{bpf_map_utils => bpf_headers}/include/bpf/BpfMap.h | 0 .../{bpf_map_utils => bpf_headers}/include/bpf/BpfUtils.h | 0 .../include/bpf/WaitForProgsLoaded.h | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename staticlibs/native/{bpf_map_utils => bpf_headers}/Android.bp (98%) rename staticlibs/native/{bpf_map_utils => bpf_headers}/BpfMapTest.cpp (100%) rename staticlibs/native/{bpf_map_utils => bpf_headers}/TEST_MAPPING (100%) rename staticlibs/native/{bpf_map_utils => bpf_headers}/include/bpf/BpfMap.h (100%) rename staticlibs/native/{bpf_map_utils => bpf_headers}/include/bpf/BpfUtils.h (100%) rename staticlibs/native/{bpf_map_utils => bpf_headers}/include/bpf/WaitForProgsLoaded.h (100%) diff --git a/staticlibs/native/bpf_map_utils/Android.bp b/staticlibs/native/bpf_headers/Android.bp similarity index 98% rename from staticlibs/native/bpf_map_utils/Android.bp rename to staticlibs/native/bpf_headers/Android.bp index e14c259096..4ec4d581e9 100644 --- a/staticlibs/native/bpf_map_utils/Android.bp +++ b/staticlibs/native/bpf_headers/Android.bp @@ -17,7 +17,7 @@ package { } cc_library_headers { - name: "bpf_map_utils", + name: "bpf_headers", vendor_available: true, host_supported: true, native_bridge_supported: true, diff --git a/staticlibs/native/bpf_map_utils/BpfMapTest.cpp b/staticlibs/native/bpf_headers/BpfMapTest.cpp similarity index 100% rename from staticlibs/native/bpf_map_utils/BpfMapTest.cpp rename to staticlibs/native/bpf_headers/BpfMapTest.cpp diff --git a/staticlibs/native/bpf_map_utils/TEST_MAPPING b/staticlibs/native/bpf_headers/TEST_MAPPING similarity index 100% rename from staticlibs/native/bpf_map_utils/TEST_MAPPING rename to staticlibs/native/bpf_headers/TEST_MAPPING diff --git a/staticlibs/native/bpf_map_utils/include/bpf/BpfMap.h b/staticlibs/native/bpf_headers/include/bpf/BpfMap.h similarity index 100% rename from staticlibs/native/bpf_map_utils/include/bpf/BpfMap.h rename to staticlibs/native/bpf_headers/include/bpf/BpfMap.h diff --git a/staticlibs/native/bpf_map_utils/include/bpf/BpfUtils.h b/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h similarity index 100% rename from staticlibs/native/bpf_map_utils/include/bpf/BpfUtils.h rename to staticlibs/native/bpf_headers/include/bpf/BpfUtils.h diff --git a/staticlibs/native/bpf_map_utils/include/bpf/WaitForProgsLoaded.h b/staticlibs/native/bpf_headers/include/bpf/WaitForProgsLoaded.h similarity index 100% rename from staticlibs/native/bpf_map_utils/include/bpf/WaitForProgsLoaded.h rename to staticlibs/native/bpf_headers/include/bpf/WaitForProgsLoaded.h