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", |
55 "//net", | 54 "//net", |
56 "//sql:sql", | 55 "//sql:sql", |
57 "//url", | 56 "//url", |
58 ] | 57 ] |
59 } | 58 } |
60 | 59 |
61 source_set("unit_tests") { | 60 source_set("unit_tests") { |
62 testonly = true | 61 testonly = true |
63 sources = [ | 62 sources = [ |
64 "change_requests_state_task_unittest.cc", | 63 "change_requests_state_task_unittest.cc", |
65 "mark_attempt_aborted_task_unittest.cc", | 64 "mark_attempt_aborted_task_unittest.cc", |
66 "mark_attempt_completed_task_unittest.cc", | 65 "mark_attempt_completed_task_unittest.cc", |
67 "mark_attempt_started_task_unittest.cc", | 66 "mark_attempt_started_task_unittest.cc", |
68 "pick_request_task_unittest.cc", | 67 "pick_request_task_unittest.cc", |
69 "remove_requests_task_unittest.cc", | 68 "remove_requests_task_unittest.cc", |
70 "request_coordinator_event_logger_unittest.cc", | 69 "request_coordinator_event_logger_unittest.cc", |
71 "request_coordinator_unittest.cc", | 70 "request_coordinator_unittest.cc", |
72 "request_queue_store_unittest.cc", | 71 "request_queue_store_unittest.cc", |
73 "request_queue_unittest.cc", | 72 "request_queue_unittest.cc", |
74 "save_page_request_unittest.cc", | 73 "save_page_request_unittest.cc", |
75 ] | 74 ] |
76 | 75 |
77 deps = [ | 76 deps = [ |
78 ":background_offliner", | 77 ":background_offliner", |
79 "//base", | 78 "//base", |
80 "//base/test:test_support", | 79 "//base/test:test_support", |
81 "//components/offline_pages:offline_pages", | 80 "//components/offline_pages/core", |
82 "//components/offline_pages:switches", | 81 "//components/offline_pages/core:switches", |
83 "//testing/gtest", | 82 "//testing/gtest", |
84 "//url", | 83 "//url", |
85 ] | 84 ] |
86 } | 85 } |
OLD | NEW |