aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:01 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:01 +0000
commitf8a42d0e381c07171fd479e1ba9a58107acfc41f (patch)
tree44a17ef69f062d983988478734690f350f9b11fa
parenta403d37d4cece0cf28f6d8d525f35ae2e6b19110 (diff)
parente03077d9f0c931b6cfca351afae74c0279ba8c9f (diff)
downloadsharded-slab-android14-qpr2-release.tar.gz
Change-Id: Ia502f69d0849e07792f0ea72804b59f00ec20458
-rw-r--r--Android.bp8
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json3
3 files changed, 5 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index fc8322b..921c495 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
-// 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.
-
-
rust_library {
name: "libsharded_slab",
host_supported: true,
@@ -11,9 +9,7 @@ rust_library {
cargo_pkg_version: "0.1.4",
srcs: ["src/lib.rs"],
edition: "2018",
- rustlibs: [
- "liblazy_static",
- ],
+ rustlibs: ["liblazy_static"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index fe43c3f..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "run": true,
- "device": 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
+}