Commit 1ce56f7c authored by jdduke's avatar jdduke Committed by Commit bot

[Android] Keep -O2 gfx optimizations

The optimizations had minimal impact on library size, and should be kept
permanently.

BUG=419051

Review URL: https://codereview.chromium.org/643253002

Cr-Commit-Position: refs/heads/master@{#300572}
parent 6b3ea731
...@@ -290,7 +290,6 @@ component("gfx") { ...@@ -290,7 +290,6 @@ component("gfx") {
# deps += [ "//base:base_java" ] # deps += [ "//base:base_java" ]
#} #}
# TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051.
if (!is_debug) { if (!is_debug) {
configs -= [ "//build/config/compiler:optimize" ] configs -= [ "//build/config/compiler:optimize" ]
configs += [ "//build/config/compiler:optimize_max" ] configs += [ "//build/config/compiler:optimize_max" ]
......
...@@ -61,7 +61,6 @@ component("geometry") { ...@@ -61,7 +61,6 @@ component("geometry") {
"//ui/gfx:gfx_export", "//ui/gfx:gfx_export",
] ]
# TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051.
if (is_android && !is_debug) { if (is_android && !is_debug) {
configs -= [ "//build/config/compiler:optimize" ] configs -= [ "//build/config/compiler:optimize" ]
configs += [ "//build/config/compiler:optimize_max" ] configs += [ "//build/config/compiler:optimize_max" ]
......
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
'geometry/vector3d_f.cc', 'geometry/vector3d_f.cc',
'geometry/vector3d_f.h', 'geometry/vector3d_f.h',
], ],
# TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051.
'includes': [ 'includes': [
'../../build/android/increase_size_for_speed.gypi', '../../build/android/increase_size_for_speed.gypi',
], ],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment