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

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

Issue 2820263002: [Offline Prefetch] Create a new JobScheduler task to wake up for net activity. (Closed)
Patch Set: Remove the "Is Scheduled" check because it's not supported by BackgroundTaskScheduler. 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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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("prefetch") { 9 static_library("prefetch") {
10 sources = [ 10 sources = [
11 "prefetch_service.cc",
11 "prefetch_service.h", 12 "prefetch_service.h",
12 "prefetch_service_impl.cc", 13 "prefetch_service_impl.cc",
13 "prefetch_service_impl.h", 14 "prefetch_service_impl.h",
14 ] 15 ]
15 16
16 deps = [ 17 deps = [
17 "//base", 18 "//base",
18 "//components/keyed_service/core", 19 "//components/keyed_service/core",
19 "//components/offline_pages/core", 20 "//components/offline_pages/core",
20 "//url", 21 "//url",
21 ] 22 ]
22 } 23 }
23 24
24 source_set("unit_tests") { 25 source_set("unit_tests") {
25 testonly = true 26 testonly = true
26 sources = [ 27 sources = [
27 "prefetch_service_impl_unittest.cc", 28 "prefetch_service_impl_unittest.cc",
28 ] 29 ]
29 30
30 deps = [ 31 deps = [
31 ":prefetch", 32 ":prefetch",
32 "//components/offline_pages/core", 33 "//components/offline_pages/core",
33 "//testing/gtest", 34 "//testing/gtest",
34 "//url", 35 "//url",
35 ] 36 ]
36 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698