diff options
author | Joel Galenson <jgalenson@google.com> | 2021-06-08 14:46:32 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-06-08 14:46:32 -0700 |
commit | 34b59d198ad567c5f53aa2312da582f3c7f690eb (patch) | |
tree | 5af962ea31ba0f8d9a286b3fdcf9887c3d37f6aa /patches | |
parent | d1325ea49959305aec6fa54768f6d694aae3e4b7 (diff) | |
download | libfuzzer-sys-34b59d198ad567c5f53aa2312da582f3c7f690eb.tar.gz |
Remove patch by using new cargo2android.py features.
Also migrate to a config file while I'm here.
Test: example_rust_fuzzer
Change-Id: If563a305a5b4bcfeb0e76f1c168ad440f99410ad
Diffstat (limited to 'patches')
-rw-r--r-- | patches/Android.bp.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch deleted file mode 100644 index c0d6fd7..0000000 --- a/patches/Android.bp.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/Android.bp b/Android.bp -index 86434dd..e565b86 100644 ---- a/Android.bp -+++ b/Android.bp -@@ -1,17 +1,15 @@ - // This file is generated by cargo2android.py --run --dependencies --device --features arbitrary-derive --patch patches/Android.bp.patch. - --rust_library { -+rust_library_rlib { - name: "liblibfuzzer_sys", - host_supported: true, - crate_name: "libfuzzer_sys", - srcs: ["src/lib.rs"], - edition: "2018", - features: ["arbitrary-derive"], -- rustlibs: [ -+ rlibs: [ - "libarbitrary", - ], -- static_libs: ["libfuzzer"], -- shared_libs: ["libstdc++"], - } - - // dependent_library ["feature_list"] - |