Index: build/config/BUILD.gn |
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn |
index c8da546781c29aa77d296cb2e5c3c9e69b32845e..39f79e6c18996e5cf1571016da007109b02418fc 100644 |
--- a/build/config/BUILD.gn |
+++ b/build/config/BUILD.gn |
@@ -168,6 +168,9 @@ config("feature_flags") { |
if (is_msan) { |
defines += [ "MEMORY_SANITIZER" ] |
} |
+ if (is_ubsan) { |
+ defines += [ "UNDEFINED_SANITIZER" ] |
+ } |
if (enable_webrtc) { |
defines += [ "ENABLE_WEBRTC=1" ] |
} |