• 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        "-Wno-unused-parameter",
34	"-Wno-implicit-function-declaration",
35	"-D_GNU_SOURCE"
36    ],
37    include_dirs: ["bionic/libc/kernel"],
38    export_include_dirs: [
39        "src/include",
40	"src/arch",
41    ],
42    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,
58    host_supported: true,
59    device_supported: true,
60}
61