summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Phillips <mitchp@google.com>2023-01-19 12:24:04 -0800
committerMitch Phillips <mitchp@google.com>2023-01-19 15:23:28 -0800
commit0c455c8039265bba5451b398bfc127f6c8fabda6 (patch)
tree4884f4d476a0b9b49ea960d27b2fb2faca0d467e
parent440eea624041580a48370eac80af25e76c6f79e0 (diff)
downloadgwp_asan-main-16k-with-phones.tar.gz
Don't link libcxx against the gwp-asan crash handler.main-16k-with-phones
This is unnecessary, as GWP-ASan's crash handler specifically avoids using libcxx. This allows us to link the crash handler into the linker, in future, to support the recoverable mode. Also, don't build a DSO variant of this. It shouldn't be used by anyone, and linking causes a cyclical dependency on libc symbols. Test: build android Bug: N/A Change-Id: I5c844ce2f4d610ed52674fe4d6c69e9781f90e98
-rw-r--r--Android.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index cb2c4f2..67ee9a9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -133,9 +133,9 @@ cc_library_static {
// GWP-ASan crash handler API. Provides all the tools you need to symbolize a
// GWP-ASan crash.
-cc_library {
+cc_library_static {
name: "gwp_asan_crash_handler",
- defaults: ["gwp_asan_defaults"],
+ defaults: ["gwp_asan_no_libs_defaults"],
header_libs: [
"gwp_asan_headers",
],