libtimeinstate: move map format info into shared header
Switch from using timeinstate.h to a shared header in system/bpf that
provides key & value struct definitions both to libtimeinstate and to
our BPF program
Test: build libtimeinstate
Bug: 138317993
Change-Id: I302b40bd1dfa7b529888f598cf36c146400f1315
Signed-off-by: Connor O'Brien <connoro@google.com>
(cherry picked from commit b2b503075c682c5aca211d840bd06f97332cef00)
Merged-In: I302b40bd1dfa7b529888f598cf36c146400f1315
diff --git a/libs/cputimeinstate/Android.bp b/libs/cputimeinstate/Android.bp
index 9080ce1..a8f7d92 100644
--- a/libs/cputimeinstate/Android.bp
+++ b/libs/cputimeinstate/Android.bp
@@ -8,6 +8,7 @@
"liblog",
"libnetdutils"
],
+ header_libs: ["bpf_prog_headers"],
cflags: [
"-Werror",
"-Wall",
@@ -25,6 +26,7 @@
"libtimeinstate",
"libnetdutils",
],
+ header_libs: ["bpf_prog_headers"],
cflags: [
"-Werror",
"-Wall",