Index: third_party/brotli/BUILD.gn |
diff --git a/third_party/brotli/BUILD.gn b/third_party/brotli/BUILD.gn |
index d50c694bae6fa699203d055f3bfd053a6bf46d70..bbc6ca0eb1adfd68b79f772de73b323f23904c50 100644 |
--- a/third_party/brotli/BUILD.gn |
+++ b/third_party/brotli/BUILD.gn |
@@ -41,11 +41,7 @@ source_set("brotli") { |
] |
# Since we are never debug brotli, freeze the optimizations to -O2. |
- if (is_debug) { |
- configs -= [ "//build/config/compiler:no_optimize" ] |
- } else { |
- configs -= [ "//build/config/compiler:optimize" ] |
- } |
+ configs -= [ "//build/config/compiler:default_optimization" ] |
configs += [ "//build/config/compiler:optimize_max" ] |
include_dirs = [ "dec" ] |