Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / ui / gfx / geometry / BUILD.gn
blobba94d3df89bcd0a2af5a5c908ce3352710bbbfcf
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.
5 component("geometry") {
6   sources = [
7     "../gfx_export.h",
8     "box_f.cc",
9     "box_f.h",
10     "cubic_bezier.cc",
11     "cubic_bezier.h",
12     "dip_util.cc",
13     "dip_util.h",
14     "insets.cc",
15     "insets.h",
16     "insets_base.h",
17     "insets_f.cc",
18     "insets_f.h",
19     "matrix3_f.cc",
20     "matrix3_f.h",
21     "point.cc",
22     "point.h",
23     "point3_f.cc",
24     "point3_f.h",
25     "point_conversions.cc",
26     "point_conversions.h",
27     "point_f.cc",
28     "point_f.h",
29     "quad_f.cc",
30     "quad_f.h",
31     "rect.cc",
32     "rect.h",
33     "rect_conversions.cc",
34     "rect_conversions.h",
35     "rect_f.cc",
36     "rect_f.h",
37     "safe_integer_conversions.h",
38     "scroll_offset.cc",
39     "scroll_offset.h",
40     "size.cc",
41     "size.h",
42     "size_conversions.cc",
43     "size_conversions.h",
44     "size_f.cc",
45     "size_f.h",
46     "vector2d.cc",
47     "vector2d.h",
48     "vector2d_conversions.cc",
49     "vector2d_conversions.h",
50     "vector2d_f.cc",
51     "vector2d_f.h",
52     "vector3d_f.cc",
53     "vector3d_f.h",
54   ]
56   defines = [ "GFX_IMPLEMENTATION" ]
58   deps = [
59     "//base",
60     "//ui/gfx:gfx_export",
61   ]
63   if (is_android && !is_debug) {
64     configs -= [ "//build/config/compiler:optimize" ]
65     configs += [ "//build/config/compiler:optimize_max" ]
66   }