chromium/ash/webui/print_management/BUILD.gn

# Copyright 2020 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/chromeos/ui_mode.gni")

assert(is_chromeos_ash, "Print Management is ash-chrome only")

static_library("print_management") {
  sources = [
    "print_management_ui.cc",
    "print_management_ui.h",
  ]

  public_deps = [ ":url_constants" ]

  deps = [
    "//ash/constants:constants",
    "//ash/webui/common:chrome_os_webui_config",
    "//ash/webui/common:trusted_types_util",
    "//ash/webui/print_management/backend:backend",
    "//ash/webui/print_management/resources:resources",
    "//ash/webui/web_applications",
    "//chromeos/components/print_management/mojom",
    "//chromeos/strings/",
    "//content/public/browser",
    "//ui/base",
    "//ui/resources",
    "//ui/webui",
  ]
}

# Url constants pulled out to enable depending on production url constants in
# browser tests.
source_set("url_constants") {
  sources = [
    "url_constants.cc",
    "url_constants.h",
  ]
}