Add libc (rust) build file.
am: da7b119f43
Change-Id: I362ea65ae761a6b97d66b0d92d8a8bd1ff1486d3
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..8315359
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,20 @@
+rust_library_rlib {
+ name: "libc_rust",
+ crate_name: "libc",
+ edition: "2015",
+ stem: "liblibc",
+ srcs: ["src/lib.rs"],
+ host_supported: true,
+
+ features: [
+ "std",
+ "default",
+ ],
+ flags: [
+ "--cfg libc_priv_mod_use",
+ "--cfg libc_union",
+ "--cfg libc_const_size_of",
+ "--cfg libc_align",
+ "--cfg libc_core_cvoid",
+ ],
+}