blob: 4a6eda929c9ed81223bdb7616d11cadb08e2db1d [file] [log] [blame]
package {
default_applicable_licenses: ["external_liburing_license"],
}
// Added automatically by a large-scale-change
//
// large-scale-change included anything that looked like it might be a license
// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
//
// Please consider removing redundant or irrelevant files from 'license_text:'.
// See: http://go/android-license-faq
license {
name: "external_liburing_license",
visibility: [":__subpackages__"],
license_kinds: [
"legacy_notice",
],
license_text: [
"COPYING",
"COPYING.GPL",
"LICENSE",
"NOTICE",
],
}
cc_defaults {
name: "iouring_defaults",
cflags: [
"-Wall",
"-Werror",
"-Wno-pointer-arith",
],
include_dirs: ["bionic/libc/kernel"],
export_include_dirs: ["src/include"],
srcs: [
"src/queue.c",
"src/register.c",
"src/setup.c",
"src/syscall.c",
],
}
cc_library_static {
name: "liburing",
defaults: [
"iouring_defaults",
],
recovery_available: true,
ramdisk_available: true,
vendor_ramdisk_available: true,
host_supported: true,
device_supported: true,
}