aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-14 19:54:45 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-14 19:54:45 +0000
commitb43313ba55b06388b58d6b35e4c60d61f5321b67 (patch)
tree0526d3701991dddde3f39da6dc4fedb5e532af42
parent47a0b2b15331f1001085a5ddc15b9d411c032fbd (diff)
parent25ae9e30f009003cc397cc618667902f6ac47c1b (diff)
downloadfxhash-b43313ba55b06388b58d6b35e4c60d61f5321b67.tar.gz
Snap for 11096816 from 25ae9e30f009003cc397cc618667902f6ac47c1b to build-tools-release
Change-Id: I962634afffa99f38f439e7243c5a7a27b1e7d0eb
-rw-r--r--Android.bp7
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json3
3 files changed, 5 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index c528e9f..cb2063b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --config cargo2android.json.
+// This file is generated by cargo_embargo.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -39,16 +39,13 @@ license {
rust_library {
name: "libfxhash",
- // has rustc warnings
host_supported: true,
crate_name: "fxhash",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
srcs: ["lib.rs"],
edition: "2015",
- rustlibs: [
- "libbyteorder",
- ],
+ rustlibs: ["libbyteorder"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 31338da..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "run": true,
- "device": true,
- "dependencies": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..cb908d7
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,3 @@
+{
+ "run_cargo": false
+}