[build] Fix host_asan-ubsan build of the library.

It looks like many executables in this project are buggy and will
either leak memory or perform undefined behavior, which makes
host_asan-ubsan builds fail miserably.

This CL adds `exclude_toolchain_variants` definitions to prevent
said executables to be compiled with asan or ubsan enabling variants,
which allows the build (and running of said executable) to work
properly.

Bug: 122698
Change-Id: Ib0a7c417a7199f4323ec37676d8022fc7897fb56
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/yasm/+/811669
Reviewed-by: Tamir Duberstein <tamird@google.com>
1 file changed