# Copyright 2021 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/features.gni")
source_set("download_stats") {
sources = [
"download_stats.cc",
"download_stats.h",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
deps = [
"//base",
"//components/download/public/common:public",
"//components/safe_browsing/content/common:file_type_policies",
]
}
source_set("unittests") {
testonly = true
sources = [ "download_stats_unittest.cc" ]
deps = [
":download_stats",
"//base/test:test_support",
"//components/download/public/common:public",
"//components/safe_browsing/content/common:file_type_policies",
"//testing/gtest",
]
}