summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-16 02:05:46 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-16 02:05:46 +0000
commitdda9e69fda1354860131ef11c126bd0e6bc9239b (patch)
treee4e9d126386df7b58ad3bf0c7b6ad68537288b11
parent36eab2f28a56a40d2640746b690eab8477c97c1f (diff)
parent61fbdb4506a7772a21c6f29568fae33fbc63b24b (diff)
downloadcexpr-android13-d1-s1-release.tar.gz
Change-Id: I77b498082c93a52d72422deddef165c0428ce129
-rw-r--r--Android.bp14
-rw-r--r--TEST_MAPPING13
-rw-r--r--cargo2android.json4
3 files changed, 17 insertions, 14 deletions
diff --git a/Android.bp b/Android.bp
index 95aa797..e0534ba 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --dependencies --device.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -41,19 +41,11 @@ rust_library {
name: "libcexpr",
host_supported: true,
crate_name: "cexpr",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.5.0",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
"libnom",
],
}
-
-// dependent_library ["feature_list"]
-// bitvec-0.19.5 "alloc,std"
-// funty-1.1.0
-// memchr-2.3.4 "std,use_std"
-// nom-6.2.0 "alloc,bitvec,funty,std"
-// radium-0.5.3
-// tap-1.0.1
-// version_check-0.9.3
-// wyz-0.2.0 "alloc"
diff --git a/TEST_MAPPING b/TEST_MAPPING
index d87563d..e4ec3b3 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,17 +1,24 @@
// Generated by update_crate_tests.py for tests that depend on this crate.
{
+ "imports": [
+ {
+ "path": "external/rust/crates/libsqlite3-sys"
+ }
+ ],
"presubmit": [
{
"name": "keystore2_test"
},
{
"name": "legacykeystore_test"
- },
+ }
+ ],
+ "presubmit-rust": [
{
- "name": "libsqlite3-sys_device_test_src_lib"
+ "name": "keystore2_test"
},
{
- "name": "libsqlite3_bindgen_test"
+ "name": "legacykeystore_test"
}
]
}
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