[UBSan][freetype2] Temporarily disable UBSan
UBSan was complaining about a zero-offset to nullptr. It seems that
audio_consumer_connection_closed_ was never initialized, so default init
it to false.
Bug: 46923
Change-Id: Iccbd91ac633efc40c1c7fa1ab88d0989815ebdd0
diff --git a/BUILD.gn b/BUILD.gn
index 8ef8846..6e6f987 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -93,6 +93,10 @@
"src/truetype/truetype.c", # TrueType
]
+ # TODO(46923): UBSan has found an instance of undefined behavior in this target.
+ # Disable UBSan for this target temporarily until it is migrated into CI/CQ.
+ configs += [ "//build/config:temporarily_disable_ubsan_do_not_use" ]
+
defines = [
"FT2_BUILD_LIBRARY",
"DARWIN_NO_CARBON",