naiveproxy/components/download/internal/background_service/test/BUILD.gn

49 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# Copyright 2017 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.
# Test target for download internal tests to depend on.
source_set("test_support") {
visibility = [
"//components/download/content/internal:unit_tests",
"//components/download/internal/background_service:unit_tests",
]
testonly = true
sources = [
"black_hole_log_sink.cc",
"black_hole_log_sink.h",
"download_params_utils.cc",
"download_params_utils.h",
"entry_utils.cc",
"entry_utils.h",
"mock_controller.cc",
"mock_controller.h",
"mock_download_driver_client.cc",
"mock_download_driver_client.h",
"mock_log_sink.cc",
"mock_log_sink.h",
"mock_model_client.cc",
"mock_model_client.h",
"test_device_status_listener.cc",
"test_device_status_listener.h",
"test_download_driver.cc",
"test_download_driver.h",
"test_store.cc",
"test_store.h",
]
public_deps = [
"//base",
"//components/download/public/background_service:public",
"//net:test_support",
"//testing/gmock",
]
deps = [
"//components/download/internal/background_service:internal",
"//services/network/public/cpp",
]
}