Add Android.bp
Tests are not enabled because they use "trybuild", which will not work
with Soong.
Bug: 156285485
Test: mma
Change-Id: Ic8e4f1a8f0f2c801888983efe32232bd2cfabbc9
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..f836735
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,42 @@
+// This file is generated by cargo2android.py --run --device --dependencies.
+
+rust_library {
+ name: "libstructopt",
+ host_supported: true,
+ crate_name: "structopt",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ features: [
+ "default",
+ ],
+ rustlibs: [
+ "libclap",
+ "liblazy_static",
+ ],
+ proc_macros: [
+ "libstructopt_derive",
+ ],
+}
+
+// dependent_library ["feature_list"]
+// ansi_term-0.11.0
+// atty-0.2.14
+// bitflags-1.2.1 "default"
+// clap-2.33.1 "ansi_term,atty,color,default,strsim,suggestions,vec_map"
+// heck-0.3.1
+// lazy_static-1.4.0
+// libc-0.2.74
+// proc-macro-error-1.0.3
+// proc-macro-error-attr-1.0.3
+// proc-macro2-1.0.19 "default,proc-macro"
+// quote-1.0.7 "default,proc-macro"
+// strsim-0.8.0
+// structopt-derive-0.4.7
+// syn-1.0.36 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit"
+// syn-mid-0.5.0
+// textwrap-0.11.0
+// unicode-segmentation-1.6.0
+// unicode-width-0.1.8 "default"
+// unicode-xid-0.2.1 "default"
+// vec_map-0.8.2
+// version_check-0.9.2