chromium/chromeos/ash/services/network_health/public/cpp/BUILD.gn

# Copyright 2022 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("cpp") {
  sources = [
    "network_health_helper.cc",
    "network_health_helper.h",
  ]
  public_deps = [
    "//chromeos/services/network_health/public/mojom",
    "//chromeos/services/network_health/public/mojom:types",
    "//mojo/public/cpp/bindings",
  ]
  deps = [
    "//chromeos/ash/services/network_health",
    "//chromeos/ash/services/network_health:in_process_instance",
    "//chromeos/services/network_health/public/mojom",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "network_health_helper_unittest.cc" ]
  deps = [
    ":cpp",
    "//base/test:test_support",
    "//chromeos/ash/services/network_config/public/cpp:test_support",
    "//chromeos/ash/services/network_health",
    "//chromeos/services/network_health/public/mojom:types",
    "//testing/gtest",
  ]
}