| Index: skia/BUILD.gn
|
| diff --git a/skia/BUILD.gn b/skia/BUILD.gn
|
| index 741db02f83e729269eb37223522fe60ddfc5143d..4878eb27ebe455f3f4a06a8e5d7224938bdef535 100644
|
| --- a/skia/BUILD.gn
|
| +++ b/skia/BUILD.gn
|
| @@ -513,7 +513,7 @@ component("skia") {
|
| sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ]
|
| }
|
|
|
| - if (is_android && !is_debug) {
|
| + if ((is_android || is_win) && !is_debug) {
|
| configs -= [ "//build/config/compiler:default_optimization" ]
|
| configs += [ "//build/config/compiler:optimize_max" ]
|
| }
|
| @@ -699,7 +699,7 @@ source_set("skia_opts") {
|
| assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp")
|
| }
|
|
|
| - if (is_android && !is_debug) {
|
| + if ((is_android || is_win) && !is_debug) {
|
| configs -= [ "//build/config/compiler:default_optimization" ]
|
| configs += [ "//build/config/compiler:optimize_max" ]
|
| }
|
|
|