chromium/chrome/browser/ash/logging/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("logging") {
  sources = [
    "logging.cc",
    "logging.h",
  ]

  deps = [
    "//base",
    "//chrome/common",
    "//content/public/browser",
  ]
}

source_set("browser_tests") {
  testonly = true

  defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]

  sources = [ "logging_browsertest.cc" ]

  deps = [
    ":logging",
    "//ash/constants",
    "//base",
    "//chrome/browser/ash/login:test_support",
    "//chrome/browser/ash/login/test:test_support",
    "//chrome/common",
    "//components/account_id",
    "//components/session_manager/core",
    "//content/public/browser",
    "//content/public/common",
    "//content/test:test_support",
    "//mojo/public/cpp/bindings",
    "//services/network/public/mojom",
    "//testing/gtest",
  ]
}