blob: 4a6eda929c9ed81223bdb7616d11cadb08e2db1d [file] [log] [blame]
Bob Badour99ac60f2021-11-04 11:00:01 -07001package {
2 default_applicable_licenses: ["external_liburing_license"],
3}
4
5// Added automatically by a large-scale-change
6//
7// large-scale-change included anything that looked like it might be a license
8// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
9//
10// Please consider removing redundant or irrelevant files from 'license_text:'.
11// See: http://go/android-license-faq
12license {
13 name: "external_liburing_license",
14 visibility: [":__subpackages__"],
15 license_kinds: [
16 "legacy_notice",
17 ],
18 license_text: [
19 "COPYING",
20 "COPYING.GPL",
21 "LICENSE",
22 "NOTICE",
23 ],
24}
25
Akilesh Kailashe18d2f22021-11-03 20:50:07 +000026cc_defaults {
27 name: "iouring_defaults",
28
29 cflags: [
30 "-Wall",
31 "-Werror",
32 "-Wno-pointer-arith",
33 ],
Akilesh Kailash032ff792022-01-04 23:19:49 +000034 include_dirs: ["bionic/libc/kernel"],
Akilesh Kailashe18d2f22021-11-03 20:50:07 +000035 export_include_dirs: ["src/include"],
36 srcs: [
37 "src/queue.c",
38 "src/register.c",
39 "src/setup.c",
40 "src/syscall.c",
41 ],
42}
43
44cc_library_static {
45 name: "liburing",
46 defaults: [
47 "iouring_defaults",
48 ],
49 recovery_available: true,
50 ramdisk_available: true,
51 vendor_ramdisk_available: true,
Akilesh Kailash032ff792022-01-04 23:19:49 +000052 host_supported: true,
53 device_supported: true,
Akilesh Kailashe18d2f22021-11-03 20:50:07 +000054}