chromium/chrome/browser/ui/webui/ash/print_preview_cros/BUILD.gn

# Copyright 2024 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)

static_library("print_preview_cros") {
  sources = [
    "print_preview_cros_dialog.cc",
    "print_preview_cros_dialog.h",
  ]

  public_deps = [
    "//base",
    "//chrome/browser/ui/webui/ash",
    "//ui/gfx",
  ]

  deps = [
    "//ash/webui/print_preview_cros:url_constants",
    "//chrome/browser:browser_public_dependencies",
    "//content/public/browser",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "print_prevew_cros_dialog_unittest.cc" ]

  deps = [
    ":print_preview_cros",
    "//base",
    "//chrome/test:test_support",
    "//testing/gtest",
  ]
}