summaryrefslogtreecommitdiff
path: root/chromium/components/precache/content/BUILD.gn
blob: bca9748e51198bd8b7b53f1f73e9fdb0464f243f (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
43
44
45
46
47
48
49
50
# Copyright 2014 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.

static_library("content") {
  sources = [
    "precache_manager.cc",
    "precache_manager.h",
  ]

  configs += [ "//components/precache/core:precache_config" ]

  deps = [
    "//base",
    "//components/data_reduction_proxy/core/browser",
    "//components/history/core/browser",
    "//components/keyed_service/core",
    "//components/precache/core",
    "//components/precache/core:proto",
    "//components/prefs",
    "//components/sync",
    "//components/variations",
    "//content/public/browser",
    "//net",
    "//sql",
    "//url",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "precache_manager_unittest.cc",
  ]
  deps = [
    ":content",
    "//base",
    "//base/test:test_support",
    "//components/history/core/browser",
    "//components/precache/core",
    "//components/precache/core:proto",
    "//components/variations:test_support",
    "//content/public/browser",
    "//content/test:test_support",
    "//net:test_support",
    "//sql",
    "//testing/gmock",
    "//testing/gtest",
  ]
}