aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:20:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:20:08 +0000
commit26eb30d7bf1a50222561e409565cc40c81b9b2e6 (patch)
tree34415b09c11820d3531c2fb80c15c31f67c251bd
parent661839d15234a38d1db1aa2da52d5766cf130f53 (diff)
parentb2486ad9e829b8b175ed96970ccc41d7167b748f (diff)
downloadatty-android13-mainline-os-statsd-release.tar.gz
Change-Id: Ic6e085cd30f4b91194110d2736ca8a8b01af9ccc
-rw-r--r--Android.bp7
-rw-r--r--TEST_MAPPING17
-rw-r--r--cargo2android.json4
3 files changed, 24 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index afd83ab..70e0e91 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --dependencies.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -22,12 +22,11 @@ rust_library {
name: "libatty",
host_supported: true,
crate_name: "atty",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.2.14",
srcs: ["src/lib.rs"],
edition: "2015",
rustlibs: [
"liblibc",
],
}
-
-// dependent_library ["feature_list"]
-// libc-0.2.88
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..3cbd48d
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,17 @@
+// Generated by update_crate_tests.py for tests that depend on this crate.
+{
+ "imports": [
+ {
+ "path": "external/rust/crates/base64"
+ },
+ {
+ "path": "external/rust/crates/tinytemplate"
+ },
+ {
+ "path": "external/rust/crates/tinyvec"
+ },
+ {
+ "path": "external/rust/crates/unicode-xid"
+ }
+ ]
+}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..bf78496
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,4 @@
+{
+ "device": true,
+ "run": true
+} \ No newline at end of file