Remove unnecessary libssl_static-host target
This target was used only from external/conscrypt
libconscrypt_openjdk_jni.so which has been switched to the libssl
target instead.
This target is unnecessary because the build system is these days
smart enough to disable sanitization of all dependent libraries of
a target for which sanitization is explicitly disabled, such as the
libconscrypt_openjdk_jni target.
Test: Commit has no effect on the contents of
libconscrypt_openjdk_jni.so, with and without ASAN enabled:
$ make SANITIZE_HOST=address libconscrypt_openjdk_jni
$ make libconscrypt_openjdk_jni
Bug: 26160319
Change-Id: Ia3375e1e2de174539d603022306855d2ba1761c2
diff --git a/Android.bp b/Android.bp
index ec247a0..218bce4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -149,21 +149,6 @@
shared_libs: ["libcrypto"],
}
-// Host static library
-cc_library_host_static {
- name: "libssl_static-host",
- defaults: ["libssl_sources", "boringssl_defaults", "boringssl_flags"],
-
- // TODO: b/26160319. ASAN breaks use of this library in JVM.
- // Re-enable sanitization when the issue with making clients of this library
- // preload ASAN runtime is resolved. Without that, clients are getting runtime
- // errors due to unresolved ASAN symbols, such as
- // __asan_option_detect_stack_use_after_return.
- sanitize: {
- never: true,
- },
-}
-
// Tool
cc_binary {
name: "bssl",