aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-15 16:10:33 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-15 16:10:33 +0000
commit1995e408fdd5ffb00b85d976c94825faf745c79d (patch)
tree76997bf0e41150dd3770d52411a947bf2d4133e6
parentd9c9674a604b494a2da4d29b0b55d525ae29da2c (diff)
downloadlibfuzzer-sys-1995e408fdd5ffb00b85d976c94825faf745c79d.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I226a1c76f85dfa574c06cb61c266bc64a1ec34f9
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json11
-rw-r--r--cargo_embargo.json15
3 files changed, 16 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp
index 5049fb7..335a89e 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 {
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 01e723e..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "dependencies": true,
- "device": true,
- "features": "arbitrary-derive",
- "force-rlib": true,
- "lib-blocklist": [
- "fuzzer",
- "stdc++"
- ],
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..1369b28
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,15 @@
+{
+ "features": [
+ "arbitrary-derive"
+ ],
+ "package": {
+ "libfuzzer-sys": {
+ "dep_blocklist": [
+ "libfuzzer",
+ "libstdc++"
+ ],
+ "force_rlib": true
+ }
+ },
+ "run_cargo": false
+}