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
3# found in the LICENSE file.
4
5component("geometry") {
6  sources = [
7    "../gfx_export.h",
8    "box_f.cc",
9    "box_f.h",
10    "cubic_bezier.h",
11    "cubic_bezier.cc",
12    "insets.cc",
13    "insets.h",
14    "insets_base.h",
15    "insets_f.cc",
16    "insets_f.h",
17    "matrix3_f.cc",
18    "matrix3_f.h",
19    "point.cc",
20    "point.h",
21    "point3_f.cc",
22    "point3_f.h",
23    "point_base.h",
24    "point_conversions.cc",
25    "point_conversions.h",
26    "point_f.cc",
27    "point_f.h",
28    "quad_f.cc",
29    "quad_f.h",
30    "rect.cc",
31    "rect.h",
32    "rect_base.h",
33    "rect_base_impl.h",
34    "rect_conversions.cc",
35    "rect_conversions.h",
36    "rect_f.cc",
37    "rect_f.h",
38    "r_tree.h",
39    "r_tree_base.cc",
40    "r_tree_base.h",
41    "safe_integer_conversions.h",
42    "size.cc",
43    "size.h",
44    "size_base.h",
45    "size_conversions.cc",
46    "size_conversions.h",
47    "size_f.cc",
48    "size_f.h",
49    "vector2d.cc",
50    "vector2d.h",
51    "vector2d_conversions.cc",
52    "vector2d_conversions.h",
53    "vector2d_f.cc",
54    "vector2d_f.h",
55    "vector3d_f.cc",
56    "vector3d_f.h",
57  ]
58
59  defines = [ "GFX_IMPLEMENTATION" ]
60
61  deps = [
62    "//base",
63    "//ui/gfx:gfx_export",
64  ]
65}
66