• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
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
26cc_defaults {
27    name: "iouring_defaults",
28
29    cflags: [
30        "-Wall",
31        "-Werror",
32        "-Wno-pointer-arith",
33    ],
34    include_dirs: ["bionic/libc/kernel"],
35    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,
52    host_supported: true,
53    device_supported: true,
54}
55