chromium/chrome/browser/chromeos/crosapi/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/ui.gni")

assert(is_chromeos)

source_set("test_support") {
  testonly = true

  sources = [
    "test_util.cc",
    "test_util.h",
  ]

  deps = [
    "//base",
    "//chromeos/crosapi/mojom",
  ]
  if (is_chromeos_lacros) {
    deps += [
      "//chromeos/lacros",
      "//chromeos/startup",
    ]
  }
  if (is_chromeos_ash) {
    deps += [
      "//chrome/browser/ash/crosapi",
      "//chrome/browser/ash/crosapi:test_support",
    ]
  }
}