[UBSan][snappy] Temporarily disable UBSan
UBSan was complaining about a load of a misaligned address.
Disable UBSan for this target for now, then we will come back to fix it
once asan-ubsan is migrated into CQ.
Bug: 47044
Change-Id: I50347ccadfdd3ff5dcf435b0e0a81fd117c5d9d9
diff --git a/BUILD.gn b/BUILD.gn
index 51da9e4..b9851c0 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -27,4 +27,8 @@
"-Wno-sign-compare",
"-Wno-unused-parameter",
]
+
+ # TODO(47044): 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" ]
}