diff --git a/BUILD.gn b/BUILD.gn index 30ebafb3d..4a2dbf182 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -198,9 +198,7 @@ static_library("libyuv_internal") { deps += [ "//third_party:jpeg_includes" ] } - # Always enable optimization for Release and NaCl builds (to workaround - # crbug.com/538243). - if (!is_debug || is_nacl) { + if (!is_debug) { configs -= [ "//build/config/compiler:default_optimization" ] # Enable optimize for speed (-O2) over size (-Os).