diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-09 20:34:03 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-09 20:34:03 +0000 |
commit | be83a0714d0b33011037f22d6822a52b1aa50a53 (patch) | |
tree | c89228b5cb157279c83138f68925300ccaa3de8c | |
parent | e23f62a5d77cf9dfc0121a593899c9d5f3cf0c3b (diff) | |
parent | 1665e224d5269cf3275d59319e22df16580b1755 (diff) | |
download | libevent-be83a0714d0b33011037f22d6822a52b1aa50a53.tar.gz |
Snap for 8562061 from 1665e224d5269cf3275d59319e22df16580b1755 to mainline-media-releaseaml_med_331911000aml_med_331712010aml_med_331612000aml_med_331511000aml_med_331410000aml_med_331318000aml_med_331115000aml_med_331012020android13-mainline-media-release
Change-Id: I4fe3dcf5a19afd9b9dbcdea1ea544dd9c3b5f4b2
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | include/event2/event-config-linux.h | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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 |