Chromium Code Reviews| Index: skia/BUILD.gn |
| diff --git a/skia/BUILD.gn b/skia/BUILD.gn |
| index 453bf59ca3cf2327caa8d5ad3d8cface8c15d4f3..66aca9ab5b302af728a566fbed02266535ef423f 100644 |
| --- a/skia/BUILD.gn |
| +++ b/skia/BUILD.gn |
| @@ -446,7 +446,7 @@ component("skia") { |
| sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ] |
| } |
| - if ((is_android || is_win) && !is_debug) { |
| + if (!is_debug) { |
| configs -= [ "//build/config/compiler:default_optimization" ] |
| configs += [ "//build/config/compiler:optimize_max" ] |
| } |
| @@ -632,7 +632,7 @@ source_set("skia_opts") { |
| assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp") |
| } |
| - if ((is_android || is_win) && !is_debug) { |
|
Nico
2016/09/09 18:50:56
what :-(
|
| + if (!is_debug) { |
| configs -= [ "//build/config/compiler:default_optimization" ] |
| configs += [ "//build/config/compiler:optimize_max" ] |
| } |