123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- # Copyright 2014 The Chromium Authors. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
- component("geometry") {
- sources = [
- "../gfx_export.h",
- "angle_conversions.h",
- "axis_transform2d.cc",
- "axis_transform2d.h",
- "box_f.cc",
- "box_f.h",
- "cubic_bezier.cc",
- "cubic_bezier.h",
- "dip_util.cc",
- "dip_util.h",
- "geometry_export.h",
- "insets.cc",
- "insets.h",
- "insets_conversions.cc",
- "insets_conversions.h",
- "insets_f.cc",
- "insets_f.h",
- "insets_outsets_base.h",
- "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",
- "size.cc",
- "size.h",
- "size_conversions.cc",
- "size_conversions.h",
- "size_f.cc",
- "size_f.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 = [ "GEOMETRY_IMPLEMENTATION" ]
- deps = [ "//base" ]
- if (!is_debug) {
- configs -= [ "//build/config/compiler:default_optimization" ]
- configs += [ "//build/config/compiler:optimize_max" ]
- }
- }
- component("geometry_skia") {
- sources = [
- "geometry_skia_export.h",
- "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 = [ "GEOMETRY_SKIA_IMPLEMENTATION" ]
- }
|