Add Android.bp file - Create a static library

Bug: 205030136
Test: Compile and link it with a test code
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I3c30234ef52d5ad89e25017d66dbe4530522f3dc
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..7d4f70a
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,27 @@
+cc_defaults {
+    name: "iouring_defaults",
+
+    cflags: [
+        "-Wall",
+        "-Werror",
+        "-Wno-pointer-arith",
+    ],
+    export_include_dirs: ["src/include"],
+    srcs: [
+        "src/queue.c",
+        "src/register.c",
+        "src/setup.c",
+        "src/syscall.c",
+    ],
+}
+
+cc_library_static {
+    name: "liburing",
+    defaults: [
+        "iouring_defaults",
+    ],
+    recovery_available: true,
+    ramdisk_available: true,
+    vendor_ramdisk_available: true,
+}
+
diff --git a/src/include/liburing/compat.h b/src/include/liburing/compat.h
new file mode 100644
index 0000000..1b19d4c
--- /dev/null
+++ b/src/include/liburing/compat.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: MIT */
+#ifndef LIBURING_COMPAT_H
+#define LIBURING_COMPAT_H
+
+#include <linux/time_types.h>
+
+#include <inttypes.h>
+#include <linux/openat2.h>
+#endif