| Index: skia/BUILD.gn
|
| diff --git a/skia/BUILD.gn b/skia/BUILD.gn
|
| index 86ed5a12d3b040f6854ebc2d6a79490bc0b73815..8cf9fa4d5ab5c6763a99705b1f3f250015155087 100644
|
| --- a/skia/BUILD.gn
|
| +++ b/skia/BUILD.gn
|
| @@ -552,6 +552,11 @@ component("skia") {
|
| if (skia_support_pdf) {
|
| deps += [ "//third_party/sfntly" ]
|
| }
|
| +
|
| + if (is_android && !is_debug) {
|
| + configs -= [ "//build/config/compiler:optimize" ]
|
| + configs += [ "//build/config/compiler:optimize_max" ]
|
| + }
|
| }
|
|
|
| # Separated out so it can be compiled with different flags for SSE.
|
| @@ -689,6 +694,11 @@ source_set("skia_opts") {
|
| assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp")
|
| }
|
|
|
| + if (is_android && !is_debug) {
|
| + configs -= [ "//build/config/compiler:optimize" ]
|
| + configs += [ "//build/config/compiler:optimize_max" ]
|
| + }
|
| +
|
| configs -= [ "//build/config/compiler:chromium_code" ]
|
| configs += [
|
| ":skia_config",
|
|
|