aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiming Jing <yimingjing@google.com>2021-07-23 22:47:51 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-07-23 22:47:51 +0000
commitd2766f4aeab1a5dea53dd4b8d40dd07a0d3729cf (patch)
treeb46cce7a3590df091154733442864a967dacd173
parentcc91334290bce9acb65248b2809a1727254c1245 (diff)
parent035a56f71c39ba3a2f032cf05910ab804ef44c22 (diff)
downloadwebpki-d2766f4aeab1a5dea53dd4b8d40dd07a0d3729cf.tar.gz
Enable alloc and std for verifying RSA signatures am: 035a56f71c
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/webpki/+/1776889 Change-Id: If69cc9191f4d82ab91ed3cb4b777e2004d2853e4
-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
}