mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-22 13:26:12 +03:00
build: Disable UBSAN in brotli
is_ubsan is not declared somehow.
This commit is contained in:
parent
f9b4f7dea8
commit
68d7e1fc86
6
src/third_party/brotli/BUILD.gn
vendored
6
src/third_party/brotli/BUILD.gn
vendored
@ -9,9 +9,9 @@ if (is_win) {
|
|||||||
config("brotli_defines") {
|
config("brotli_defines") {
|
||||||
# By default, brotli depends on undefined behavior, but setting
|
# By default, brotli depends on undefined behavior, but setting
|
||||||
# BROTLI_BUILD_PORTABLE should result in a build which does not.
|
# BROTLI_BUILD_PORTABLE should result in a build which does not.
|
||||||
if (is_ubsan) {
|
#if (is_ubsan) {
|
||||||
defines = [ "BROTLI_BUILD_PORTABLE" ]
|
# defines = [ "BROTLI_BUILD_PORTABLE" ]
|
||||||
}
|
#}
|
||||||
}
|
}
|
||||||
|
|
||||||
config("includes") {
|
config("includes") {
|
||||||
|
Loading…
Reference in New Issue
Block a user