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
|
# 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/rules.gni")
}
source_set("feed_content") {
sources = [
"feed_host_service.cc",
"feed_host_service.h",
"feed_offline_host.cc",
"feed_offline_host.h",
]
public_deps = [
"//base",
"//components/feed/core:feed_core",
"//components/keyed_service/core",
]
deps = [
"//components/offline_pages/core",
"//components/offline_pages/core/prefetch",
]
}
source_set("content_unit_tests") {
testonly = true
sources = [ "feed_offline_host_unittest.cc" ]
deps = [
":feed_content",
"//base",
"//base/test:test_support",
"//components/offline_pages/core",
"//components/offline_pages/core:test_support",
"//components/offline_pages/core/prefetch:test_support",
"//testing/gmock",
"//testing/gtest",
]
}
|