Chromium Code Reviews| Index: BUILD.gn |
| diff --git a/BUILD.gn b/BUILD.gn |
| index 4ad4c5752dd47d65ea77276f66a6c1ec6837d2a6..f0f8404b890a1d1f5891b168eadd9f1229104e35 100644 |
| --- a/BUILD.gn |
| +++ b/BUILD.gn |
| @@ -102,6 +102,12 @@ source_set("libyuv") { |
| if (use_neon) { |
| deps += [ ":libyuv_neon" ] |
| } |
| + |
| + if (is_nacl) { |
| + # Always enable optimization under NaCl to workaround crbug.com/538243 . |
| + configs -= [ "//build/config/compiler:default_optimization" ] |
| + configs += [ "//build/config/compiler:optimize_max" ] |
| + } |
| } |
| if (use_neon) { |