Chromium Code Reviews| Index: cc/surfaces/BUILD.gn |
| diff --git a/cc/surfaces/BUILD.gn b/cc/surfaces/BUILD.gn |
| index 2e3ec230e6fe023a4cbe856c8189bb79693118a2..46fdfc13827b3f8f3906d5757203c48816f4c6fd 100644 |
| --- a/cc/surfaces/BUILD.gn |
| +++ b/cc/surfaces/BUILD.gn |
| @@ -35,5 +35,10 @@ component("surfaces") { |
| "//ui/gfx", |
| "//ui/gfx/geometry", |
| ] |
| + |
| + if (is_android && !is_debug) { |
| + configs -= [ "//build/config/compiler:optimize" ] |
| + configs += [ "//build/config/compiler:optimize_max" ] |
| + } |
| } |