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

static_library("renderer") {
  sources = [
    "net_error_helper_core.cc",
    "net_error_helper_core.h",
  ]

  deps = [
    "//base",
    "//base:i18n",
    "//components/error_page/common",
    "//components/strings",
    "//components/url_formatter",
    "//content/public/common",
    "//net",
    "//third_party/WebKit/public:blink",
    "//ui/base",
    "//url",
  ]
}

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

  configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]

  deps = [
    ":renderer",
    "//base",
    "//base/test:test_support",
    "//components/error_page/common",
    "//content/public/common",
    "//net",
    "//testing/gtest",
  ]
}
