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

Unified Diff: ui/gfx/BUILD.gn

Issue 612513003: [Android] Enable -O2 for gfx (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Link to bug Created 6 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 | ui/gfx/geometry/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index d8c71f5d43fe4c379d48239cb6a2164bf766d8a9..db9fa0dcbb0696cb5b1a66ae048883703508076f 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -290,6 +290,12 @@ component("gfx") {
# deps += [ "//base:base_java" ]
#}
+ # TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051.
+ if (!is_debug) {
+ configs -= [ "//build/config/compiler:optimize" ]
+ configs += [ "//build/config/compiler:optimize_max" ]
+ }
+
deps += [ ":gfx_jni_headers" ]
libs = [
"android",
« no previous file with comments | « no previous file | ui/gfx/geometry/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698