1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
component("geometry") {
sources = [
"axis_transform2d.cc",
"axis_transform2d.h",
"box_f.cc",
"box_f.h",
"clamp_float_geometry.h",
"cubic_bezier.cc",
"cubic_bezier.h",
"decomposed_transform.cc",
"decomposed_transform.h",
"dip_util.cc",
"dip_util.h",
"double4.h",
"insets.cc",
"insets.h",
"insets_conversions.cc",
"insets_conversions.h",
"insets_f.cc",
"insets_f.h",
"insets_outsets_base.cc",
"insets_outsets_base.h",
"insets_outsets_f_base.cc",
"insets_outsets_f_base.h",
"matrix3_f.cc",
"matrix3_f.h",
"outsets.h",
"outsets_f.h",
"point.cc",
"point.h",
"point3_f.cc",
"point3_f.h",
"point_conversions.cc",
"point_conversions.h",
"point_f.cc",
"point_f.h",
"quad_f.cc",
"quad_f.h",
"quaternion.cc",
"quaternion.h",
"rect.cc",
"rect.h",
"rect_conversions.cc",
"rect_conversions.h",
"rect_f.cc",
"rect_f.h",
"resize_utils.cc",
"resize_utils.h",
"rounded_corners_f.cc",
"rounded_corners_f.h",
"sin_cos_degrees.h",
"size.cc",
"size.h",
"size_conversions.cc",
"size_conversions.h",
"size_f.cc",
"size_f.h",
"three_point_cubic_bezier.cc",
"three_point_cubic_bezier.h",
"triangle_f.cc",
"triangle_f.h",
"vector2d.cc",
"vector2d.h",
"vector2d_conversions.cc",
"vector2d_conversions.h",
"vector2d_f.cc",
"vector2d_f.h",
"vector3d_f.cc",
"vector3d_f.h",
]
defines = [ "IS_GEOMETRY_IMPL" ]
deps = [ "//base" ]
if (!is_debug) {
configs -= [ "//build/config/compiler:default_optimization" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
}
component("geometry_skia") {
sources = [
"linear_gradient.cc",
"linear_gradient.h",
"mask_filter_info.cc",
"mask_filter_info.h",
"matrix44.cc",
"matrix44.h",
"rrect_f.cc",
"rrect_f.h",
"rrect_f_builder.cc",
"rrect_f_builder.h",
"skia_conversions.cc",
"skia_conversions.h",
"transform.cc",
"transform.h",
"transform_operation.cc",
"transform_operation.h",
"transform_operations.cc",
"transform_operations.h",
"transform_util.cc",
"transform_util.h",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
public_deps = [
":geometry",
"//base",
"//skia",
]
defines = [ "IS_GEOMETRY_SKIA_IMPL" ]
}
|