chromium/chrome/test/base/ash/interactive/hotspot/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)

source_set("interactive_ui_tests") {
  testonly = true

  sources = [
    "hotspot_policy_interactive_uitest.cc",
    "hotspot_update_configuration_interactive_uitest.cc",
    "toggle_hotspot_interactive_uitest.cc",
  ]

  defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]

  deps = [
    ":test_support",
    "//ash",
    "//chrome/test/base/ash/interactive:test_support",
    "//chrome/test/base/ash/interactive/network:test_support",
    "//chrome/test/base/ash/interactive/settings:test_support",
    "//chromeos/ash/components/dbus/session_manager",
    "//chromeos/ash/components/dbus/shill:test_support",
    "//chromeos/ash/components/network",
    "//content/test:test_support",
    "//ui/base",
    "//ui/base:test_support",
  ]
}

source_set("test_support") {
  testonly = true

  sources = [
    "hotspot_config_observer.cc",
    "hotspot_config_observer.h",
    "hotspot_state_observer.cc",
    "hotspot_state_observer.h",
  ]

  deps = [
    "//chromeos/ash/components/dbus/shill",
    "//chromeos/ash/components/network",
    "//chromeos/ash/services/hotspot_config/public/mojom",
    "//ui/base:test_support",
  ]
}