Add C++ wrapper for liburing
Test: th
Bug: 250637970
Change-Id: I6303617ad02c6be2f2a6d3b28cd81f10406302bb
diff --git a/liburing_cpp/Android.bp b/liburing_cpp/Android.bp
new file mode 100644
index 0000000..2296f7e
--- /dev/null
+++ b/liburing_cpp/Android.bp
@@ -0,0 +1,31 @@
+
+cc_library {
+ name: "liburing_cpp",
+ host_supported: true,
+ recovery_available: true,
+ srcs: [
+ "src/IoUring.cpp",
+ "src/IoUringSQE.cpp",
+ ],
+ static_libs: [
+ "liburing",
+ ],
+ include_dirs: ["bionic/libc/kernel"],
+ export_include_dirs: [
+ "include",
+ ],
+}
+
+
+cc_test_host {
+ name: "liburing_cpp_tests",
+ srcs: [
+ "tests/BasicTests.cpp",
+ "tests/main.cpp",
+ ],
+ static_libs: [
+ "libgtest",
+ "liburing",
+ "liburing_cpp",
+ ],
+}
\ No newline at end of file