aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 12:32:24 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-25 12:32:24 +0000
commitdd41ae9803e260fa048926a59e5ccd81214b9eca (patch)
treef9d956a4c69e336006d96b2ca15d00ebd2c187ac
parenta49477d7b91b26f008cb38a1cbd3ce07e1f82a8a (diff)
parent5e96dc8de49f6b8ca6ca0cfed07068197959dce1 (diff)
downloadoorandom-android13-mainline-go-media-release.tar.gz
Snap for 8358640 from 5e96dc8de49f6b8ca6ca0cfed07068197959dce1 to mainline-go-media-releaseaml_go_med_330913000android13-mainline-go-media-release
Change-Id: I964cbeadf09f576b37c914b758d7211d99b69867
-rw-r--r--Android.bp4
-rw-r--r--TEST_MAPPING17
-rw-r--r--cargo2android.json4
3 files changed, 24 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 9f9337e..68321a1 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,6 +22,8 @@ rust_library {
name: "liboorandom",
host_supported: true,
crate_name: "oorandom",
+ cargo_env_compat: true,
+ cargo_pkg_version: "11.1.3",
srcs: ["src/lib.rs"],
edition: "2018",
}
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