summaryrefslogtreecommitdiff
path: root/chromium/components/download/public/background_service/BUILD.gn
blob: c9d96905e8ea2033822ba4e5b441a2f6d3ca7411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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.

if (is_android) {
  import("//build/config/android/config.gni")
  import("//build/config/android/rules.gni")
}

source_set("public") {
  sources = [
    "blob_context_getter_factory.h",
    "client.cc",
    "client.h",
    "clients.h",
    "download_metadata.cc",
    "download_metadata.h",
    "download_params.cc",
    "download_params.h",
    "download_service.h",
    "features.cc",
    "features.h",
    "logger.h",
    "navigation_monitor.h",
    "service_config.h",
  ]

  deps = [ "//components/keyed_service/core" ]

  # TODO(xingliu): Create blob target that doesn't need to depend on blink.
  # Currently gn header check will fail even if the code is not built into any targets.
  if (!is_ios) {
    deps += [ "//storage/browser" ]
  }

  public_deps = [
    "//base",
    "//components/download/public/task:public",
    "//net",
    "//url",
  ]
}