Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: components/offline_pages/core/BUILD.gn

Issue 2811813002: [Offline Pages] Set up the initial prefetching service. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("core") { 9 static_library("core") {
10 sources = [ 10 sources = [
(...skipping 28 matching lines...) Expand all
39 "snapshot_controller.cc", 39 "snapshot_controller.cc",
40 "snapshot_controller.h", 40 "snapshot_controller.h",
41 "task.cc", 41 "task.cc",
42 "task.h", 42 "task.h",
43 "task_queue.cc", 43 "task_queue.cc",
44 "task_queue.h", 44 "task_queue.h",
45 ] 45 ]
46 46
47 deps = [ 47 deps = [
48 ":switches", 48 ":switches",
49 "prefetch:prefetch",
49 "//base", 50 "//base",
50 "//components/keyed_service/core", 51 "//components/keyed_service/core",
51 "//net", 52 "//net",
52 "//sql:sql", 53 "//sql:sql",
53 "//url", 54 "//url",
54 ] 55 ]
55 } 56 }
56 57
57 static_library("test_support") { 58 static_library("test_support") {
58 testonly = true 59 testonly = true
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 "offline_page_storage_manager_unittest.cc", 102 "offline_page_storage_manager_unittest.cc",
102 "snapshot_controller_unittest.cc", 103 "snapshot_controller_unittest.cc",
103 "task_queue_unittest.cc", 104 "task_queue_unittest.cc",
104 "task_unittest.cc", 105 "task_unittest.cc",
105 ] 106 ]
106 107
107 deps = [ 108 deps = [
108 ":core", 109 ":core",
109 ":switches", 110 ":switches",
110 ":test_support", 111 ":test_support",
112 "prefetch:unit_tests",
111 "recent_tabs:unit_tests", 113 "recent_tabs:unit_tests",
112 "//base", 114 "//base",
113 "//base/test:test_support", 115 "//base/test:test_support",
114 "//sql:sql", 116 "//sql:sql",
115 "//testing/gtest", 117 "//testing/gtest",
116 "//url", 118 "//url",
117 ] 119 ]
118 } 120 }
119 121
120 if (is_android) { 122 if (is_android) {
121 java_cpp_enum("offline_page_model_enums_java") { 123 java_cpp_enum("offline_page_model_enums_java") {
122 sources = [ 124 sources = [
123 "background/request_notifier.h", 125 "background/request_notifier.h",
124 "background/request_queue_results.h", 126 "background/request_queue_results.h",
125 "background/save_page_request.h", 127 "background/save_page_request.h",
126 "downloads/download_ui_item.h", 128 "downloads/download_ui_item.h",
127 "offline_page_types.h", 129 "offline_page_types.h",
128 "offline_store_types.h", 130 "offline_store_types.h",
129 ] 131 ]
130 } 132 }
131 } 133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698