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

Unified Diff: skia/BUILD.gn

Issue 2270693006: Adjust skia build settings to match gyp, improve perf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another place to add optimize_max to Windows as well Created 4 years, 4 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 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" ]
}
« 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