| 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 = [ |
| 11 "change_requests_state_task.cc", | 11 "change_requests_state_task.cc", |
| 12 "change_requests_state_task.h", | 12 "change_requests_state_task.h", |
| 13 "device_conditions.h", | 13 "device_conditions.h", |
| 14 "get_requests_task.cc", |
| 15 "get_requests_task.h", |
| 14 "mark_attempt_aborted_task.cc", | 16 "mark_attempt_aborted_task.cc", |
| 15 "mark_attempt_aborted_task.h", | 17 "mark_attempt_aborted_task.h", |
| 16 "mark_attempt_completed_task.cc", | 18 "mark_attempt_completed_task.cc", |
| 17 "mark_attempt_completed_task.h", | 19 "mark_attempt_completed_task.h", |
| 18 "mark_attempt_started_task.cc", | 20 "mark_attempt_started_task.cc", |
| 19 "mark_attempt_started_task.h", | 21 "mark_attempt_started_task.h", |
| 20 "offliner.h", | 22 "offliner.h", |
| 21 "offliner_factory.h", | 23 "offliner_factory.h", |
| 22 "offliner_policy.h", | 24 "offliner_policy.h", |
| 23 "pick_request_task.cc", | 25 "pick_request_task.cc", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 ":background_offliner", | 77 ":background_offliner", |
| 76 "//base", | 78 "//base", |
| 77 "//net", | 79 "//net", |
| 78 ] | 80 ] |
| 79 } | 81 } |
| 80 | 82 |
| 81 source_set("unit_tests") { | 83 source_set("unit_tests") { |
| 82 testonly = true | 84 testonly = true |
| 83 sources = [ | 85 sources = [ |
| 84 "change_requests_state_task_unittest.cc", | 86 "change_requests_state_task_unittest.cc", |
| 87 "get_requests_task_unittest.cc", |
| 85 "mark_attempt_aborted_task_unittest.cc", | 88 "mark_attempt_aborted_task_unittest.cc", |
| 86 "mark_attempt_completed_task_unittest.cc", | 89 "mark_attempt_completed_task_unittest.cc", |
| 87 "mark_attempt_started_task_unittest.cc", | 90 "mark_attempt_started_task_unittest.cc", |
| 88 "pick_request_task_unittest.cc", | 91 "pick_request_task_unittest.cc", |
| 89 "remove_requests_task_unittest.cc", | 92 "remove_requests_task_unittest.cc", |
| 90 "request_coordinator_event_logger_unittest.cc", | 93 "request_coordinator_event_logger_unittest.cc", |
| 91 "request_coordinator_unittest.cc", | 94 "request_coordinator_unittest.cc", |
| 92 "request_queue_store_unittest.cc", | 95 "request_queue_store_unittest.cc", |
| 93 "request_queue_unittest.cc", | 96 "request_queue_unittest.cc", |
| 94 "save_page_request_unittest.cc", | 97 "save_page_request_unittest.cc", |
| 95 ] | 98 ] |
| 96 | 99 |
| 97 deps = [ | 100 deps = [ |
| 98 ":background_offliner", | 101 ":background_offliner", |
| 99 ":test_support", | 102 ":test_support", |
| 100 "//base", | 103 "//base", |
| 101 "//base/test:test_support", | 104 "//base/test:test_support", |
| 102 "//components/offline_pages:offline_pages", | 105 "//components/offline_pages:offline_pages", |
| 103 "//components/offline_pages:switches", | 106 "//components/offline_pages:switches", |
| 104 "//testing/gtest", | 107 "//testing/gtest", |
| 105 "//url", | 108 "//url", |
| 106 ] | 109 ] |
| 107 } | 110 } |
| OLD | NEW |