From 2d1696b457baffc735c1d969ae1979b7ccd077fb Mon Sep 17 00:00:00 2001 From: klzgrad Date: Tue, 14 Mar 2023 06:41:58 +0800 Subject: [PATCH] brotli: Fix missing import in BUILD.gn is_ubsan is not declared when imported from net/BUILD.gn --- src/third_party/brotli/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/third_party/brotli/BUILD.gn b/src/third_party/brotli/BUILD.gn index 0aa74779e8..f02400f4e4 100644 --- a/src/third_party/brotli/BUILD.gn +++ b/src/third_party/brotli/BUILD.gn @@ -6,6 +6,8 @@ if (is_win) { import("//build/config/win/visual_studio_version.gni") } +import("//build/config/sanitizers/sanitizers.gni") + config("brotli_defines") { # By default, brotli depends on undefined behavior, but setting # BROTLI_BUILD_PORTABLE should result in a build which does not.