blob: 5fc7a9b6dbd65df3033757a18a83cba3be1c9da5 [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",
Gil Cukiermand0a20422022-10-28 15:33:44 -040033 "-Wno-unused-parameter",
34 "-Wno-implicit-function-declaration",
35 "-D_GNU_SOURCE"
Akilesh Kailashe18d2f22021-11-03 20:50:07 +000036 ],
Akilesh Kailash032ff792022-01-04 23:19:49 +000037 include_dirs: ["bionic/libc/kernel"],
Gil Cukiermand0a20422022-10-28 15:33:44 -040038 export_include_dirs: [
39 "src/include",
40 "src/arch",
41 ],
Akilesh Kailashe18d2f22021-11-03 20:50:07 +000042 srcs: [
43 "src/queue.c",
44 "src/register.c",
45 "src/setup.c",
46 "src/syscall.c",
47 ],
48}
49
50cc_library_static {
51 name: "liburing",
52 defaults: [
53 "iouring_defaults",
54 ],
55 recovery_available: true,
56 ramdisk_available: true,
57 vendor_ramdisk_available: true,
Akilesh Kailash032ff792022-01-04 23:19:49 +000058 host_supported: true,
59 device_supported: true,
Akilesh Kailashe18d2f22021-11-03 20:50:07 +000060}