| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 component("geometry") { | 5 component("geometry") { |
| 6 sources = [ | 6 sources = [ |
| 7 "../gfx_export.h", | 7 "../gfx_export.h", |
| 8 "box_f.cc", | 8 "box_f.cc", |
| 9 "box_f.h", | 9 "box_f.h", |
| 10 "cubic_bezier.h", | 10 "cubic_bezier.h", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 "vector3d_f.h", | 58 "vector3d_f.h", |
| 59 ] | 59 ] |
| 60 | 60 |
| 61 defines = [ "GFX_IMPLEMENTATION" ] | 61 defines = [ "GFX_IMPLEMENTATION" ] |
| 62 | 62 |
| 63 deps = [ | 63 deps = [ |
| 64 "//base", | 64 "//base", |
| 65 "//ui/gfx:gfx_export", | 65 "//ui/gfx:gfx_export", |
| 66 ] | 66 ] |
| 67 | 67 |
| 68 # TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051. | |
| 69 if (is_android && !is_debug) { | 68 if (is_android && !is_debug) { |
| 70 configs -= [ "//build/config/compiler:optimize" ] | 69 configs -= [ "//build/config/compiler:optimize" ] |
| 71 configs += [ "//build/config/compiler:optimize_max" ] | 70 configs += [ "//build/config/compiler:optimize_max" ] |
| 72 } | 71 } |
| 73 } | 72 } |
| OLD | NEW |