chromium/components/error_page/content/browser/BUILD.gn

# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

static_library("browser") {
  public = [ "net_error_auto_reloader.h" ]

  sources = [ "net_error_auto_reloader.cc" ]

  public_deps = [
    "//base",
    "//content/public/browser",
    "//services/network/public/cpp",
    "//services/network/public/mojom",
  ]

  deps = [
    "//net",
    "//url",
  ]
}

source_set("browser_tests") {
  testonly = true

  defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]

  sources = [ "net_error_auto_reloader_browsertest.cc" ]

  deps = [
    ":browser",
    "//base",
    "//base/test:test_support",
    "//content/public/browser",
    "//content/shell:content_shell_lib",
    "//content/test:browsertest_support",
    "//content/test:test_support",
    "//net",
    "//services/network:test_support",
    "//testing/gtest",
    "//url",
  ]
}