chromium/components/ssl_errors/BUILD.gn

# Copyright 2015 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("ssl_errors") {
  sources = [
    "error_classification.cc",
    "error_classification.h",
    "error_info.cc",
    "error_info.h",
  ]

  deps = [
    "//base",
    "//base:i18n",
    "//components/network_time",
    "//components/strings",
    "//components/url_formatter",
    "//net",
    "//ui/base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "error_classification_unittest.cc" ]

  deps = [
    ":ssl_errors",
    "//base",
    "//components/network_time",
    "//components/network_time:network_time_test_support",
    "//components/prefs:test_support",
    "//net:test_support",
    "//services/network:test_support",
    "//services/network/public/cpp:cpp",
    "//testing/gtest",
  ]
}