aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:11:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:11:10 +0000
commit75afdfa4c120c4d83a7c8e58b7db972fabc2422d (patch)
tree83687b70a643322d8f35fa20916d348a64a19e57
parentf6fabc38b10be6633a413188d195f83786af03fa (diff)
parentd52e86db3db3cd3eb6ad2bce9fadb51cec04d0e5 (diff)
downloadcrc32fast-android14-qpr2-s1-release.tar.gz
Change-Id: I0efadd3e619b7ae5ece21ecaa64c3062095a1648
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json10
-rw-r--r--cargo_embargo.json7
3 files changed, 9 insertions, 14 deletions
diff --git a/Android.bp b/Android.bp
index 9e1ffe5..798ba82 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 {
@@ -76,9 +76,7 @@ rust_library {
"std",
],
cfgs: ["crc32fast_stdarchx86"],
- rustlibs: [
- "libcfg_if",
- ],
+ rustlibs: ["libcfg_if"],
apex_available: [
"//apex_available:platform",
"com.android.virt",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index ac56e26..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "apex-available": [
- "//apex_available:platform",
- "com.android.virt"
- ],
- "dependencies": true,
- "device": true,
- "run": true,
- "tests": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..7f14879
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,7 @@
+{
+ "apex_available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "tests": true
+}