summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2020-12-21 09:56:13 +0100
committerJeff Vander Stoep <jeffv@google.com>2020-12-21 09:56:13 +0100
commitee1ac363b95ef1a5b8a4512dfdbf0dadbf6b14e2 (patch)
tree68e1ab51e524a22558e8d182a26a9e5cbcfdad79
parenta4352c1b17071c62db67de2034beafa38a9d91ad (diff)
downloadidna-ee1ac363b95ef1a5b8a4512dfdbf0dadbf6b14e2.tar.gz
Add Android.bp
Test: mm Test: atest Change-Id: I9c08320912533e7a3c5f0cd1548c63e9f8106739
-rw-r--r--Android.bp21
-rw-r--r--TEST_MAPPING19
2 files changed, 40 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..45d877a
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,21 @@
+// This file is generated by cargo2android.py --run --device --dependencies.
+
+rust_library {
+ name: "libidna",
+ host_supported: true,
+ crate_name: "idna",
+ srcs: ["src/lib.rs"],
+ edition: "2015",
+ rustlibs: [
+ "libmatches",
+ "libunicode_bidi",
+ "libunicode_normalization",
+ ],
+}
+
+// dependent_library ["feature_list"]
+// matches-0.1.8
+// tinyvec-1.1.0 "alloc,default,tinyvec_macros"
+// tinyvec_macros-0.1.0
+// unicode-bidi-0.3.4 "default"
+// unicode-normalization-0.1.16 "default,std"
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..da6633f
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,19 @@
+// Generated by cargo2android.py for tests in Android.bp
+{
+ "presubmit": [
+ {
+ "host": true,
+ "name": "idna_host_test_tests_tests"
+ },
+ {
+ "name": "idna_device_test_tests_tests"
+ },
+ {
+ "host": true,
+ "name": "idna_host_test_tests_unit"
+ },
+ {
+ "name": "idna_device_test_tests_unit"
+ }
+ ]
+}