[lsan][crashpad] Suppress leak sanitizer on crashpad_test.

Leak sanitizer detected bugs on the above tests. We suppress
the leak sanitizer on the leaky targets for now, and these leaks
need to be fixed to fully enable leak detector.

Bug: fuchsia:46559
Change-Id: I0bd7a43cfefc0d4ac213651de6dceea4404c243b
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2067412
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
Yilong Li 2020-02-20 15:47:04 -08:00 committed by Commit Bot
parent 22701bb0e4
commit f79cba47ba

View File

@ -35,6 +35,10 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
"util:util_test",
]
}
if (crashpad_is_in_fuchsia) {
# TODO(fuchsia:46559): Fix the leaks and remove this.
deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]
}
}
if (crashpad_is_in_fuchsia) {