Merge "Set libpcap to compile against SDK 29." am: dcf5b2b6a1 am: 83f31e5d5e am: 65d69c9664
Change-Id: Iee287ba9ca309259c4965fab1736b88e3d2fd7d0
diff --git a/Android.bp b/Android.bp
index bc4c626..eb0ea10 100644
--- a/Android.bp
+++ b/Android.bp
@@ -34,6 +34,11 @@
name: "libpcap",
host_supported: true,
vendor_available: true,
+ // Build against the NDK 29 because it's used by the network stack mainline module tests, which
+ // need to support Q.
+ // TODO(b/148792341): stop hardcoding sdk_version integers in libraries all over the tree and
+ // define a min_apex_sdk_version property that all module code can use.
+ sdk_version: "29",
defaults: ["libpcap_defaults"],
// (Matches order in libpcap's Makefile.)