aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiming Jing <yimingjing@google.com>2021-07-23 23:07:27 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-07-23 23:07:27 +0000
commit064decfa62eee1fb6601d0320ab4790008e683e2 (patch)
treeb46cce7a3590df091154733442864a967dacd173
parent927617981a73f05afd0fdc6bf50b9fc9b96d205d (diff)
parentd2766f4aeab1a5dea53dd4b8d40dd07a0d3729cf (diff)
downloadwebpki-064decfa62eee1fb6601d0320ab4790008e683e2.tar.gz
Enable alloc and std for verifying RSA signatures am: 035a56f71c am: d2766f4aea
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/webpki/+/1776889 Change-Id: Iaa27f34611a51b6dfc2c450c294353fdca6cfdca
-rw-r--r--Android.bp12
-rw-r--r--cargo2android.json1
2 files changed, 13 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 869e402..2a76fd4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -9,6 +9,10 @@ rust_library {
crate_name: "webpki",
srcs: ["src/lib.rs"],
edition: "2018",
+ features: [
+ "alloc",
+ "std",
+ ],
rustlibs: [
"libring",
"libuntrusted",
@@ -22,6 +26,10 @@ rust_defaults {
test_suites: ["general-tests"],
auto_gen_config: true,
edition: "2018",
+ features: [
+ "alloc",
+ "std",
+ ],
rustlibs: [
"libbase64_rust",
"libring",
@@ -48,6 +56,10 @@ rust_defaults {
test_suites: ["general-tests"],
auto_gen_config: true,
edition: "2018",
+ features: [
+ "alloc",
+ "std",
+ ],
rustlibs: [
"libbase64_rust",
"libring",
diff --git a/cargo2android.json b/cargo2android.json
index a005be1..8a00514 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,5 +1,6 @@
{
"device": true,
+ "features": "alloc,std",
"run": true,
"tests": true
}