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

Side by Side Diff: ui/gfx/geometry/BUILD.gn

Issue 662273002: gfx:: De-templatize Size and SizeF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: inlines-size: . Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/gfx/geometry/size.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 22 matching lines...) Expand all
33 "rect_f.cc", 33 "rect_f.cc",
34 "rect_f.h", 34 "rect_f.h",
35 "r_tree.h", 35 "r_tree.h",
36 "r_tree_base.cc", 36 "r_tree_base.cc",
37 "r_tree_base.h", 37 "r_tree_base.h",
38 "safe_integer_conversions.h", 38 "safe_integer_conversions.h",
39 "scroll_offset.cc", 39 "scroll_offset.cc",
40 "scroll_offset.h", 40 "scroll_offset.h",
41 "size.cc", 41 "size.cc",
42 "size.h", 42 "size.h",
43 "size_base.h",
44 "size_conversions.cc", 43 "size_conversions.cc",
45 "size_conversions.h", 44 "size_conversions.h",
46 "size_f.cc", 45 "size_f.cc",
47 "size_f.h", 46 "size_f.h",
48 "vector2d.cc", 47 "vector2d.cc",
49 "vector2d.h", 48 "vector2d.h",
50 "vector2d_conversions.cc", 49 "vector2d_conversions.cc",
51 "vector2d_conversions.h", 50 "vector2d_conversions.h",
52 "vector2d_f.cc", 51 "vector2d_f.cc",
53 "vector2d_f.h", 52 "vector2d_f.h",
54 "vector3d_f.cc", 53 "vector3d_f.cc",
55 "vector3d_f.h", 54 "vector3d_f.h",
56 ] 55 ]
57 56
58 defines = [ "GFX_IMPLEMENTATION" ] 57 defines = [ "GFX_IMPLEMENTATION" ]
59 58
60 deps = [ 59 deps = [
61 "//base", 60 "//base",
62 "//ui/gfx:gfx_export", 61 "//ui/gfx:gfx_export",
63 ] 62 ]
64 63
65 # TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051. 64 # TODO(jdduke): Revisit optimization after gauging benefit, crbug/419051.
66 if (is_android && !is_debug) { 65 if (is_android && !is_debug) {
67 configs -= [ "//build/config/compiler:optimize" ] 66 configs -= [ "//build/config/compiler:optimize" ]
68 configs += [ "//build/config/compiler:optimize_max" ] 67 configs += [ "//build/config/compiler:optimize_max" ]
69 } 68 }
70 } 69 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/geometry/size.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698