1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33

ash / webui / print_management / backend / BUILD.gn [blame]

# Copyright 2023 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, "Non-ChromeOS builds cannot depend on //ash")

static_library("backend") {
  sources = [
    "print_management_delegate.h",
    "print_management_handler.cc",
    "print_management_handler.h",
  ]

  deps = [
    "//base",
    "//chromeos/components/print_management/mojom",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "print_management_handler_unittest.cc" ]

  deps = [
    ":backend",
    "//base",
    "//content/test:test_support",
    "//testing/gtest",
  ]
}