chromium/ui/display/types/BUILD.gn

# 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("types") {
  output_name = "display_types"
  sources = [
    "display_color_management.cc",
    "display_color_management.h",
    "display_config.cc",
    "display_config.h",
    "display_configuration_params.cc",
    "display_configuration_params.h",
    "display_constants.cc",
    "display_constants.h",
    "display_geometry.h",
    "display_mode.cc",
    "display_mode.h",
    "display_snapshot.cc",
    "display_snapshot.h",
    "display_types_export.h",
    "fake_display_controller.h",
    "gamma_ramp_rgb_entry.h",
    "native_display_delegate.cc",
    "native_display_delegate.h",
    "native_display_observer.h",
  ]

  defines = [ "DISPLAY_TYPES_IMPLEMENTATION" ]

  configs += [ "//build/config/compiler:wexit_time_destructors" ]

  deps = [
    "//base",
    "//skia",
    "//skia:skcms",
    "//ui/gfx:buffer_types",
    "//ui/gfx:color_space",
    "//ui/gfx/geometry",
  ]
}