1// This file is generated by cargo2android.py --config cargo2android.json. 2// Do not modify this file as changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_mio_license"], 6} 7 8// Added automatically by a large-scale-change 9// See: http://go/android-license-faq 10license { 11 name: "external_rust_crates_mio_license", 12 visibility: [":__subpackages__"], 13 license_kinds: [ 14 "SPDX-license-identifier-MIT", 15 ], 16 license_text: [ 17 "LICENSE", 18 ], 19} 20 21rust_library { 22 name: "libmio", 23 host_supported: true, 24 crate_name: "mio", 25 srcs: ["src/lib.rs"], 26 edition: "2018", 27 features: [ 28 "net", 29 "os-ext", 30 "os-poll", 31 "os-util", 32 "tcp", 33 "udp", 34 "uds", 35 ], 36 rustlibs: [ 37 "liblibc", 38 "liblog_rust", 39 ], 40 apex_available: [ 41 "//apex_available:platform", 42 "com.android.resolv", 43 ], 44 min_sdk_version: "29", 45} 46 47// dependent_library ["feature_list"] 48// cfg-if-1.0.0 49// libc-0.2.94 "default,std" 50// log-0.4.14 "std" 51