chromium/chromecast/ui/BUILD.gn

# Copyright 2019 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")

import("//chromecast/chromecast.gni")

cast_source_set("display_settings_public") {
  sources = [
    "display_settings_manager.cc",
    "display_settings_manager.h",
  ]

  deps = [
    "//base",
    "//chromecast/ui/mojom",
    "//mojo/public/cpp/bindings",
    "//ui/display/types",
  ]
}

cast_source_set("display_settings_manager") {
  sources = [
    "display_settings_manager_impl.cc",
    "display_settings_manager_impl.h",
  ]

  deps = [
    ":display_settings_public",
    "//base",
    "//chromecast/graphics",
    "//chromecast/ui/display_settings",
    "//chromecast/ui/mojom",
    "//mojo/public/cpp/bindings",
    "//ui/display/types",
  ]

  if (use_aura) {
    deps += [ "//chromecast/browser:display_configurator" ]
  }
}

cast_source_set("back_gesture_router") {
  sources = [ "back_gesture_router.h" ]
}