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

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

Issue 1929223002: Add skeletons for the factories to create the request coordinator and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempt gypi file fix. Created 4 years, 7 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 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 # GYP: //components/offline_pages/offline_pages.gypi:background_offliner 9 # GYP: //components/offline_pages/offline_pages.gypi:background_offliner
10 static_library("background_offliner") { 10 static_library("background_offliner") {
11 sources = [ 11 sources = [
12 "offliner.h", 12 "offliner.h",
13 "offliner_factory.h",
14 "offliner_policy.h",
13 "request_coordinator.cc", 15 "request_coordinator.cc",
14 "request_coordinator.h", 16 "request_coordinator.h",
15 "request_queue.cc", 17 "request_queue.cc",
16 "request_queue.h", 18 "request_queue.h",
17 "request_queue_in_memory_store.cc", 19 "request_queue_in_memory_store.cc",
18 "request_queue_in_memory_store.h", 20 "request_queue_in_memory_store.h",
19 "request_queue_store.h", 21 "request_queue_store.h",
20 "save_page_request.cc", 22 "save_page_request.cc",
21 "save_page_request.h", 23 "save_page_request.h",
22 "scheduler.h", 24 "scheduler.h",
23 ] 25 ]
24 26
25 deps = [ 27 deps = [
26 "//base", 28 "//base",
29 "//components/keyed_service/core",
27 "//components/offline_pages:offline_pages", 30 "//components/offline_pages:offline_pages",
28 "//net", 31 "//net",
29 "//url", 32 "//url",
30 ] 33 ]
31 } 34 }
32 35
33 source_set("unit_tests") { 36 source_set("unit_tests") {
34 testonly = true 37 testonly = true
35 sources = [ 38 sources = [
36 "request_coordinator_unittest.cc", 39 "request_coordinator_unittest.cc",
37 "request_queue_in_memory_store_unittest.cc", 40 "request_queue_in_memory_store_unittest.cc",
38 "save_page_request_unittest.cc", 41 "save_page_request_unittest.cc",
39 ] 42 ]
40 43
41 deps = [ 44 deps = [
42 ":background_offliner", 45 ":background_offliner",
43 "//base", 46 "//base",
44 "//base/test:test_support", 47 "//base/test:test_support",
45 "//components/offline_pages:offline_pages", 48 "//components/offline_pages:offline_pages",
46 "//testing/gtest", 49 "//testing/gtest",
47 "//url", 50 "//url",
48 ] 51 ]
49 } 52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698