aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiming Jing <yimingjing@google.com>2021-07-23 23:34:26 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-07-23 23:34:26 +0000
commite7d62264893dd6e9d0ea8715776220fc18565155 (patch)
treeb46cce7a3590df091154733442864a967dacd173
parente887ebcf725b2226d1e42ff999f85278924fe2b3 (diff)
parent2a46d333c6d40d1f06ce0814123640101b800c65 (diff)
downloadwebpki-e7d62264893dd6e9d0ea8715776220fc18565155.tar.gz
Enable alloc and std for verifying RSA signatures am: 035a56f71c am: d2766f4aea am: 064decfa62 am: 2a46d333c6
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/webpki/+/1776889 Change-Id: Iac84876389fcbc28aba626075ef4b89afdecedda
-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
}