Bob Badour | 99ac60f | 2021-11-04 11:00:01 -0700 | [diff] [blame] | 1 | package { |
| 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 |
| 12 | license { |
| 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 Kailash | e18d2f2 | 2021-11-03 20:50:07 +0000 | [diff] [blame] | 26 | cc_defaults { |
| 27 | name: "iouring_defaults", |
| 28 | |
| 29 | cflags: [ |
| 30 | "-Wall", |
| 31 | "-Werror", |
| 32 | "-Wno-pointer-arith", |
Gil Cukierman | d0a2042 | 2022-10-28 15:33:44 -0400 | [diff] [blame] | 33 | "-Wno-unused-parameter", |
| 34 | "-Wno-implicit-function-declaration", |
| 35 | "-D_GNU_SOURCE" |
Akilesh Kailash | e18d2f2 | 2021-11-03 20:50:07 +0000 | [diff] [blame] | 36 | ], |
Akilesh Kailash | 032ff79 | 2022-01-04 23:19:49 +0000 | [diff] [blame] | 37 | include_dirs: ["bionic/libc/kernel"], |
Gil Cukierman | d0a2042 | 2022-10-28 15:33:44 -0400 | [diff] [blame] | 38 | export_include_dirs: [ |
| 39 | "src/include", |
| 40 | "src/arch", |
| 41 | ], |
Akilesh Kailash | e18d2f2 | 2021-11-03 20:50:07 +0000 | [diff] [blame] | 42 | srcs: [ |
| 43 | "src/queue.c", |
| 44 | "src/register.c", |
| 45 | "src/setup.c", |
| 46 | "src/syscall.c", |
| 47 | ], |
| 48 | } |
| 49 | |
| 50 | cc_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 Kailash | 032ff79 | 2022-01-04 23:19:49 +0000 | [diff] [blame] | 58 | host_supported: true, |
| 59 | device_supported: true, |
Akilesh Kailash | e18d2f2 | 2021-11-03 20:50:07 +0000 | [diff] [blame] | 60 | } |