| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 "vector3d_f.cc", | 55 "vector3d_f.cc", |
| 56 "vector3d_f.h", | 56 "vector3d_f.h", |
| 57 ] | 57 ] |
| 58 | 58 |
| 59 defines = [ "GFX_IMPLEMENTATION" ] | 59 defines = [ "GFX_IMPLEMENTATION" ] |
| 60 | 60 |
| 61 deps = [ | 61 deps = [ |
| 62 "//base", | 62 "//base", |
| 63 "//ui/gfx:gfx_export", | 63 "//ui/gfx:gfx_export", |
| 64 ] | 64 ] |
| 65 |
| 66 # TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051. |
| 67 if (is_android && !is_debug) { |
| 68 configs -= [ "//build/config/compiler:optimize" ] |
| 69 configs += [ "//build/config/compiler:optimize_max" ] |
| 70 } |
| 65 } | 71 } |
| OLD | NEW |