910e62b5创建于 1月15日历史提交
# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/ui.gni")

assert(is_chromeos)

component("manager") {
  sources = [
    "apply_content_protection_task.cc",
    "apply_content_protection_task.h",
    "configure_displays_task.cc",
    "configure_displays_task.h",
    "content_protection_key_manager.cc",
    "content_protection_key_manager.h",
    "content_protection_manager.cc",
    "content_protection_manager.h",
    "default_touch_transform_setter.cc",
    "default_touch_transform_setter.h",
    "display_change_observer.cc",
    "display_change_observer.h",
    "display_configurator.cc",
    "display_configurator.h",
    "display_layout_manager.h",
    "display_layout_store.cc",
    "display_layout_store.h",
    "display_manager.cc",
    "display_manager.h",
    "display_manager_export.h",
    "display_manager_observer.cc",
    "display_manager_observer.h",
    "display_port_observer.cc",
    "display_port_observer.h",
    "display_properties_parser.cc",
    "display_properties_parser.h",
    "json_converter.cc",
    "json_converter.h",
    "managed_display_info.cc",
    "managed_display_info.h",
    "query_content_protection_task.cc",
    "query_content_protection_task.h",
    "touch_device_manager.cc",
    "touch_device_manager.h",
    "touch_transform_controller.cc",
    "touch_transform_controller.h",
    "touch_transform_setter.h",
    "update_display_configuration_task.cc",
    "update_display_configuration_task.h",
    "util/display_manager_test_util.cc",
    "util/display_manager_test_util.h",
    "util/display_manager_util.cc",
    "util/display_manager_util.h",
  ]

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

  public_deps = [ "//ui/display" ]

  deps = [
    "//base",
    "//chromeos/ash/components/system",
    "//chromeos/constants",
    "//chromeos/ui/base",
    "//components/device_event_log",
    "//components/viz/common/resources:shared_image_format",
    "//third_party/re2",
    "//ui/base",
    "//ui/display/mojom",
    "//ui/display/util",
    "//ui/events:platform_event",
    "//ui/events/devices",
    "//ui/strings",
  ]

  defines = [ "DISPLAY_MANAGER_IMPLEMENTATION" ]
}