blob: 0daa48d5f5c87b88adb2bf02435a1f81976ecccc [file] [log] [blame]
Kelvin Zhang1bd2e5b2022-10-03 12:02:34 -07001
Bob Badourc82a7432022-10-27 07:35:05 -07002package {
3 // See: http://go/android-license-faq
4 // A large-scale-change added 'default_applicable_licenses' to import
5 // all of the 'license_kinds' from "system_update_engine_license"
6 // to get the below license kinds:
7 // SPDX-license-identifier-Apache-2.0
8 default_applicable_licenses: ["system_update_engine_license"],
9}
10
Kelvin Zhang1bd2e5b2022-10-03 12:02:34 -070011cc_library {
12 name: "liburing_cpp",
13 host_supported: true,
14 recovery_available: true,
15 srcs: [
16 "src/IoUring.cpp",
17 "src/IoUringSQE.cpp",
18 ],
19 static_libs: [
20 "liburing",
21 ],
22 include_dirs: ["bionic/libc/kernel"],
23 export_include_dirs: [
24 "include",
25 ],
26}
27
28
29cc_test_host {
30 name: "liburing_cpp_tests",
31 srcs: [
32 "tests/BasicTests.cpp",
33 "tests/main.cpp",
34 ],
35 static_libs: [
36 "libgtest",
37 "liburing",
38 "liburing_cpp",
39 ],
Bob Badourc82a7432022-10-27 07:35:05 -070040}