Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(814)

Unified Diff: skia/BUILD.gn

Issue 2320853002: Optimize skia for performance, rather than size on all platforms. (Closed)
Patch Set: CL for src perf tryjob to run smoothness.top_25_smooth benchmark on all-mac platform(s) Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698