aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorConnor O'Brien <connoro@google.com>2022-02-14 18:43:23 -0800
committerConnor O'Brien <connoro@google.com>2022-02-14 18:48:00 -0800
commit41100a6aa07388031e6285b8975bae3e86db86f5 (patch)
treefc44c73d30254e3e8f5df44856bda3355215b97b /Android.bp
parent2ef2c92ccb0ebb8d297a41de5201d4db94d8255b (diff)
downloadlibbpf-41100a6aa07388031e6285b8975bae3e86db86f5.tar.gz
btfloader: allow using btf__get_map_kv_tids()
Upstream libbpf recently marked this function as deprecated to encourage use of their newer BTF-based map definitions, but (at least for the time being) Android programs still use the "legacy" map definitions which necessitate using this function in btfloader. Update Android.bp accordingly to build despite the deprecation warning. Bug: 203823368 Test: m btfloader Signed-off-by: Connor O'Brien <connoro@google.com> Change-Id: I6fb13cd4e8c09c5be90ad6b5896451f784e81013
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 01acaa7..75ca2ba 100644
--- a/Android.bp
+++ b/Android.bp
@@ -128,4 +128,7 @@ cc_binary {
"libelf",
"libz"
],
+ cflags: [
+ "-Wno-deprecated-declarations",
+ ]
}