aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-12 02:11:57 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-12 02:11:57 +0000
commitb5c5fa966970dd8c3debcc5ac3b9677f47bbf6e0 (patch)
treef6b51bef69599bc01dc14d9e0d89ebb72eef722d
parentf26b12957f6232414c176a991b1335f220ad549a (diff)
parentdd54769da3575f5f705f7dfb871cc2e99a46ad7f (diff)
downloadheck-android14-qpr2-s1-release.tar.gz
Change-Id: I198f94b5fb241e0be0522313097449a109f79744
-rw-r--r--0.3.3/Android.bp12
-rw-r--r--0.3.3/cargo2android.json6
-rw-r--r--0.3.3/cargo_embargo.json9
3 files changed, 14 insertions, 13 deletions
diff --git a/0.3.3/Android.bp b/0.3.3/Android.bp
index 65601b5..063d0c2 100644
--- a/0.3.3/Android.bp
+++ b/0.3.3/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 {
@@ -50,9 +50,7 @@ rust_test {
unit_test: true,
},
edition: "2018",
- rustlibs: [
- "libunicode_segmentation",
- ],
+ rustlibs: ["libunicode_segmentation"],
}
rust_library {
@@ -63,7 +61,7 @@ rust_library {
cargo_pkg_version: "0.3.3",
srcs: ["src/lib.rs"],
edition: "2018",
- rustlibs: [
- "libunicode_segmentation",
- ],
+ rustlibs: ["libunicode_segmentation"],
+ product_available: true,
+ vendor_available: true,
}
diff --git a/0.3.3/cargo2android.json b/0.3.3/cargo2android.json
deleted file mode 100644
index 8b712d9..0000000
--- a/0.3.3/cargo2android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "device": true,
- "run": true,
- "tests": true,
- "name-suffix": "_deprecated"
-}
diff --git a/0.3.3/cargo_embargo.json b/0.3.3/cargo_embargo.json
new file mode 100644
index 0000000..5e90c3d
--- /dev/null
+++ b/0.3.3/cargo_embargo.json
@@ -0,0 +1,9 @@
+{
+ "apex_available": [],
+ "module_name_overrides": {
+ "heck_test_src_lib": "heck_test_src_lib_deprecated",
+ "libheck": "libheck_deprecated"
+ },
+ "run_cargo": false,
+ "tests": true
+}