OLD | NEW |
---|---|
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 8 |
9 static_library("background_offliner") { | 9 static_library("background_offliner") { |
10 sources = [ | 10 sources = [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 "save_page_request.cc", | 42 "save_page_request.cc", |
43 "save_page_request.h", | 43 "save_page_request.h", |
44 "scheduler.h", | 44 "scheduler.h", |
45 "update_request_task.cc", | 45 "update_request_task.cc", |
46 "update_request_task.h", | 46 "update_request_task.h", |
47 ] | 47 ] |
48 | 48 |
49 deps = [ | 49 deps = [ |
50 "//base", | 50 "//base", |
51 "//components/keyed_service/core", | 51 "//components/keyed_service/core", |
52 "//components/offline_pages:offline_pages", | |
53 "//components/offline_pages:switches", | |
54 "//components/offline_pages/core", | 52 "//components/offline_pages/core", |
53 "//components/offline_pages/core:switches", | |
Pete Williamson
2016/12/06 02:02:24
Does the background component still need switches?
chili
2016/12/06 19:08:53
Not sure, but I'd rather keep everything the same
dougarnett
2016/12/06 20:10:13
Believe this is needed for offline_pages::IsOfflin
| |
55 "//net", | 54 "//net", |
56 "//sql:sql", | 55 "//sql:sql", |
57 "//url", | 56 "//url", |
58 ] | 57 ] |
59 } | 58 } |
60 | 59 |
61 static_library("test_support") { | 60 static_library("test_support") { |
62 testonly = true | 61 testonly = true |
63 sources = [ | 62 sources = [ |
64 "network_quality_provider_stub.cc", | 63 "network_quality_provider_stub.cc", |
(...skipping 27 matching lines...) Expand all Loading... | |
92 "request_queue_store_unittest.cc", | 91 "request_queue_store_unittest.cc", |
93 "request_queue_unittest.cc", | 92 "request_queue_unittest.cc", |
94 "save_page_request_unittest.cc", | 93 "save_page_request_unittest.cc", |
95 ] | 94 ] |
96 | 95 |
97 deps = [ | 96 deps = [ |
98 ":background_offliner", | 97 ":background_offliner", |
99 ":test_support", | 98 ":test_support", |
100 "//base", | 99 "//base", |
101 "//base/test:test_support", | 100 "//base/test:test_support", |
102 "//components/offline_pages:offline_pages", | 101 "//components/offline_pages/core", |
103 "//components/offline_pages:switches", | 102 "//components/offline_pages/core:switches", |
104 "//testing/gtest", | 103 "//testing/gtest", |
105 "//url", | 104 "//url", |
106 ] | 105 ] |
107 } | 106 } |
OLD | NEW |