Add an sdk_version annotation to libbpf_android_headers.
This will be used by the tethering module when running on S, so
it needs to have an sdk_version. Because this target does not
depend on anything, there is no need to change any other code.
Because this is only needed by the tethering module, which
shipped in R, pick the R SDK version, 30. That ensures we do not
need to support it on releases older than when it is needed.
Test: m
Bug: 173167302
Change-Id: I15c1e943d0c30aceebcb8288e78a5a8135ee7fd1
diff --git a/libbpf_android/Android.bp b/libbpf_android/Android.bp
index 507ca18..93dc7c1 100644
--- a/libbpf_android/Android.bp
+++ b/libbpf_android/Android.bp
@@ -25,6 +25,7 @@
enabled: true,
},
},
+ sdk_version: "30",
}
cc_library {