chromium/components/download/public/background_service/test/BUILD.gn

# Copyright 2017 The Chromium Authors
# 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("test_support") {
  testonly = true

  sources = [
    "empty_client.cc",
    "empty_client.h",
    "empty_logger.cc",
    "empty_logger.h",
    "mock_client.cc",
    "mock_client.h",
    "mock_download_service.cc",
    "mock_download_service.h",
    "test_download_service.cc",
    "test_download_service.h",
  ]

  deps = [ "//services/network/public/cpp" ]

  public_deps = [
    "//base",
    "//components/download/public/background_service:public",
    "//testing/gmock",
  ]
}