Link libcrypto with -Bsymbolic. am: 6453437ecc

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/boringssl/+/12108886

Change-Id: I5b94dad6c729b4888c1849ad2b83c01f9efd16fd
diff --git a/Android.bp b/Android.bp
index c831677..6ff1bf8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -67,6 +67,12 @@
         host: {
             host_ldlibs: ["-lpthread"],
         },
+        android: {
+            // On FIPS builds (i.e. Android only) prevent other libraries
+            // from pre-empting symbols in libcrypto which could affect FIPS
+            // compliance and cause integrity checks to fail. See b/160231064.
+            ldflags: ["-Wl,-Bsymbolic"],
+        },
     },
 
     local_include_dirs: ["src/crypto"],