OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 } | 7 } |
8 import("//third_party/protobuf/proto_library.gni") | 8 import("//third_party/protobuf/proto_library.gni") |
9 | 9 |
10 static_library("prefetch") { | 10 static_library("prefetch") { |
11 sources = [ | 11 sources = [ |
| 12 "add_unique_urls_task.cc", |
| 13 "add_unique_urls_task.h", |
12 "generate_page_bundle_request.cc", | 14 "generate_page_bundle_request.cc", |
13 "generate_page_bundle_request.h", | 15 "generate_page_bundle_request.h", |
14 "prefetch_dispatcher.h", | 16 "prefetch_dispatcher.h", |
15 "prefetch_dispatcher_impl.cc", | 17 "prefetch_dispatcher_impl.cc", |
16 "prefetch_dispatcher_impl.h", | 18 "prefetch_dispatcher_impl.h", |
17 "prefetch_item.cc", | 19 "prefetch_item.cc", |
18 "prefetch_item.h", | 20 "prefetch_item.h", |
19 "prefetch_request_fetcher.cc", | 21 "prefetch_request_fetcher.cc", |
20 "prefetch_request_fetcher.h", | 22 "prefetch_request_fetcher.h", |
21 "prefetch_service.h", | 23 "prefetch_service.h", |
22 "prefetch_service_impl.cc", | 24 "prefetch_service_impl.cc", |
23 "prefetch_service_impl.h", | 25 "prefetch_service_impl.h", |
| 26 "prefetch_store.h", |
| 27 "prefetch_test_store.cc", |
| 28 "prefetch_test_store.h", |
24 "prefetch_types.cc", | 29 "prefetch_types.cc", |
25 "prefetch_types.h", | 30 "prefetch_types.h", |
26 "prefetch_utils.cc", | 31 "prefetch_utils.cc", |
27 "prefetch_utils.h", | 32 "prefetch_utils.h", |
28 ] | 33 ] |
29 | 34 |
30 public_deps = [ | 35 public_deps = [ |
31 ":proto", | 36 ":proto", |
32 ] | 37 ] |
33 deps = [ | 38 deps = [ |
(...skipping 28 matching lines...) Expand all Loading... |
62 | 67 |
63 deps = [ | 68 deps = [ |
64 ":prefetch", | 69 ":prefetch", |
65 "//components/offline_pages/core", | 70 "//components/offline_pages/core", |
66 "//net:test_support", | 71 "//net:test_support", |
67 "//testing/gmock", | 72 "//testing/gmock", |
68 "//testing/gtest", | 73 "//testing/gtest", |
69 "//url", | 74 "//url", |
70 ] | 75 ] |
71 } | 76 } |
OLD | NEW |