aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-17 03:29:29 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-17 03:29:29 +0000
commitb1cabbeeb63b4dc1d168a1125f7ba01137b09a5b (patch)
tree2ed96a9b679a0c51570d8606f3ce6088a8968e1e
parentfe64a3d6632f08234047975d9bd9f2d81e0d9549 (diff)
parent0e105dfc9f68bbfad6e41e359e1f2a8a9cf1f0d0 (diff)
downloadcsv-android13-frc-os-statsd-release.tar.gz
Snap for 8192848 from 0e105dfc9f68bbfad6e41e359e1f2a8a9cf1f0d0 to tm-frc-os-statsd-releaset_frc_sta_330443010android13-frc-os-statsd-release
Change-Id: Iaa52ce20f9806500745bcb8d4bf0c91459b2c982
-rw-r--r--Android.bp20
-rw-r--r--TEST_MAPPING17
-rw-r--r--cargo2android.json4
3 files changed, 24 insertions, 17 deletions
diff --git a/Android.bp b/Android.bp
index 49e8234..bc895d5 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 {
@@ -41,6 +41,8 @@ rust_library {
name: "libcsv",
host_supported: true,
crate_name: "csv",
+ cargo_env_compat: true,
+ cargo_pkg_version: "1.1.6",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
@@ -51,19 +53,3 @@ rust_library {
"libserde",
],
}
-
-// dependent_library ["feature_list"]
-// bstr-0.2.15 "default,lazy_static,regex-automata,serde,serde1,serde1-nostd,std,unicode"
-// byteorder-1.4.3
-// csv-core-0.1.10 "default"
-// itoa-0.4.7 "default,std"
-// lazy_static-1.4.0
-// memchr-2.3.4 "std,use_std"
-// proc-macro2-1.0.26 "default,proc-macro"
-// quote-1.0.9 "default,proc-macro"
-// regex-automata-0.1.9
-// ryu-1.0.5
-// serde-1.0.125 "default,derive,serde_derive,std"
-// serde_derive-1.0.125 "default"
-// syn-1.0.68 "clone-impls,default,derive,parsing,printing,proc-macro,quote"
-// unicode-xid-0.2.1 "default"
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