xref: /aosp_15_r20/system/update_engine/liburing_cpp/Android.bp (revision 5a9231315b4521097b8dc3750bc806fcafe0c72f)
1
2package {
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
11cc_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	export_include_dirs: [
23		"include",
24	],
25}
26
27
28cc_test_host {
29	name: "liburing_cpp_tests",
30	srcs: [
31		"tests/BasicTests.cpp",
32		"tests/main.cpp",
33	],
34	static_libs: [
35		"libgtest",
36		"liburing",
37		"liburing_cpp",
38	],
39}
40