mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
64 lines
1.6 KiB
Plaintext
64 lines
1.6 KiB
Plaintext
# Copyright 2018 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.
|
|
|
|
if (is_android) {
|
|
import("//build/config/android/config.gni")
|
|
import("//build/config/android/rules.gni")
|
|
}
|
|
|
|
source_set("database") {
|
|
sources = [
|
|
"download_db.cc",
|
|
"download_db.h",
|
|
"download_db_conversions.cc",
|
|
"download_db_conversions.h",
|
|
"download_db_entry.cc",
|
|
"download_db_entry.h",
|
|
"download_db_impl.cc",
|
|
"download_db_impl.h",
|
|
"download_info.cc",
|
|
"download_info.h",
|
|
"download_namespace.cc",
|
|
"download_namespace.h",
|
|
"in_progress/download_entry.cc",
|
|
"in_progress/download_entry.h",
|
|
"in_progress/in_progress_cache.h",
|
|
"in_progress/in_progress_cache_impl.cc",
|
|
"in_progress/in_progress_cache_impl.h",
|
|
"in_progress/in_progress_info.cc",
|
|
"in_progress/in_progress_info.h",
|
|
"in_progress/ukm_info.cc",
|
|
"in_progress/ukm_info.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//components/download/database/proto",
|
|
"//components/leveldb_proto",
|
|
"//net",
|
|
"//services/metrics/public/cpp:metrics_cpp",
|
|
"//services/network/public/mojom",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"download_db_conversions_unittest.cc",
|
|
"download_db_impl_unittest.cc",
|
|
"in_progress/in_progress_cache_impl_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":database",
|
|
"//base/test:test_support",
|
|
"//components/download/database/proto",
|
|
"//components/leveldb_proto:test_support",
|
|
"//content/test:test_support",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
}
|