blob: 53c049fb121ad4f0a6743988a4d36a5387f52142 [file] [log] [blame]
# 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("browser") {
sources = [
"content_visit_delegate.cc",
"content_visit_delegate.h",
"download_conversions.cc",
"download_conversions.h",
"history_context_helper.cc",
"history_context_helper.h",
"history_database_helper.cc",
"history_database_helper.h",
"visited_link_navigation_throttle.cc",
"visited_link_navigation_throttle.h",
"web_contents_top_sites_observer.cc",
"web_contents_top_sites_observer.h",
]
deps = [
"//base",
"//components/download/public/common:public",
"//components/history/core/browser",
"//components/version_info",
"//components/visitedlink/browser",
"//components/visitedlink/core",
"//content/public/browser",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"content_history_backend_db_unittest.cc",
"download_conversions_unittest.cc",
"web_contents_top_sites_observer_unittest.cc",
]
deps = [
":browser",
"//base",
"//components/history/core/browser",
"//components/history/core/test",
"//content/test:test_support",
"//testing/gmock",
"//testing/gtest",
]
# TODO(crbug.com/40031409): Fix code that adds exit-time destructors and
# enable the diagnostic by removing this line.
configs += [ "//build/config/compiler:no_exit_time_destructors" ]
}