summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Bentley <prb@google.com>2020-05-12 12:17:47 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-12 12:17:47 +0000
commit5fb8f8641f36bec43066370f2743e9513dd9d2d5 (patch)
tree89f9d492f6d26f086d0a795072961e5f1cb052e6
parent13837a386f745e6800a09019c73a1575f7b84203 (diff)
parent2267f65417a0b43437ad56f6321e87308cb5e421 (diff)
downloadboringssl-5fb8f8641f36bec43066370f2743e9513dd9d2d5.tar.gz
Disable ASAN for libcrypto. am: 2267f65417
Change-Id: I72f85516413648217ce95e294f439780d632bcda
-rw-r--r--Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 958e6692..c8316775 100644
--- a/Android.bp
+++ b/Android.bp
@@ -183,6 +183,12 @@ cc_library {
cflags: [
"-DBORINGSSL_FIPS",
],
+ sanitize: {
+ // Disable address sanitizing otherwise libcrypto will not report
+ // itself as being in FIPS mode, which causes boringssl_self_test
+ // to fail.
+ address: false,
+ },
inject_bssl_hash: true,
static: {
// Disable the static version of libcrypto, as it causes