aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:00:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:00:08 +0000
commit7ba0a053197e26010df0ee065eade7ec44b648aa (patch)
treec89228b5cb157279c83138f68925300ccaa3de8c
parent62554d3df6be1be8896537a523d3259dbab5f041 (diff)
parent1665e224d5269cf3275d59319e22df16580b1755 (diff)
downloadlibevent-android13-mainline-tethering-release.tar.gz
Change-Id: I8a4edcfcb66422b80d67492be0ea71308b93c23b
-rw-r--r--Android.bp6
-rw-r--r--include/event2/event-config-linux.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 9d4b51f..a0c5c1b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -49,6 +49,7 @@ license {
cc_library {
name: "libevent",
host_supported: true,
+ ramdisk_available: true,
recovery_available: true,
vendor_available: true,
product_available: true,
@@ -115,4 +116,9 @@ cc_library {
srcs: ["kqueue.c"],
},
},
+ min_sdk_version: "30",
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.bluetooth",
+ ],
}
diff --git a/include/event2/event-config-linux.h b/include/event2/event-config-linux.h
index 7c43c78..52ac09f 100644
--- a/include/event2/event-config-linux.h
+++ b/include/event2/event-config-linux.h
@@ -352,7 +352,9 @@
#define EVENT__HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#if !defined(ANDROID_HOST_MUSL)
#define EVENT__HAVE_SYS_SYSCTL_H 1
+#endif
/* Define to 1 if you have the <sys/timerfd.h> header file. */
#define HAVE_SYS_TIMERFD_H 1