Skip to content

Commit

Permalink
Optimize skia for performance, rather than size on all platforms.
Browse files Browse the repository at this point in the history
This change got lost in the GN migration.

BUG=644927

Review-Url: https://codereview.chromium.org/2320853002
Cr-Commit-Position: refs/heads/master@{#417682}
  • Loading branch information
erikchen authored and Commit bot committed Sep 9, 2016
1 parent 8244692 commit be3d818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skia/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,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" ]
}
Expand Down Expand Up @@ -634,7 +634,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) {
if (!is_debug) {
configs -= [ "//build/config/compiler:default_optimization" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
Expand Down

0 comments on commit be3d818

Please sign in to comment.