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

Side by Side Diff: components/download/internal/BUILD.gn

Issue 2895953004: Add initial Controller to DownloadService (Closed)
Patch Set: Moved stats out Created 3 years, 6 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/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 static_library("internal") { 10 static_library("internal") {
11 visibility = [ 11 visibility = [
12 ":*", 12 ":*",
13 "//components/download", 13 "//components/download",
14 "//components/download/content", 14 "//components/download/content",
15 "//components/download/internal/test:test_support", 15 "//components/download/internal/test:test_support",
16 ] 16 ]
17 17
18 sources = [ 18 sources = [
19 "client_set.cc",
20 "client_set.h",
19 "config.cc", 21 "config.cc",
20 "config.h", 22 "config.h",
23 "controller.h",
24 "controller_impl.cc",
25 "controller_impl.h",
21 "download_driver.h", 26 "download_driver.h",
22 "download_service_impl.cc", 27 "download_service_impl.cc",
23 "download_service_impl.h", 28 "download_service_impl.h",
24 "driver_entry.cc", 29 "driver_entry.cc",
25 "driver_entry.h", 30 "driver_entry.h",
26 "entry.cc", 31 "entry.cc",
27 "entry.h", 32 "entry.h",
33 "entry_utils.cc",
34 "entry_utils.h",
28 "model.h", 35 "model.h",
29 "model_impl.cc", 36 "model_impl.cc",
30 "model_impl.h", 37 "model_impl.h",
31 "noop_store.cc", 38 "noop_store.cc",
32 "noop_store.h", 39 "noop_store.h",
33 "scheduler/battery_listener.cc", 40 "scheduler/battery_listener.cc",
34 "scheduler/battery_listener.h", 41 "scheduler/battery_listener.h",
35 "scheduler/network_listener.cc", 42 "scheduler/network_listener.cc",
36 "scheduler/network_listener.h", 43 "scheduler/network_listener.h",
44 "startup_status.cc",
45 "startup_status.h",
46 "stats.cc",
47 "stats.h",
37 "store.h", 48 "store.h",
38 ] 49 ]
39 50
40 deps = [ 51 deps = [
41 "//base", 52 "//base",
42 "//components/download/public", 53 "//components/download/public",
43 "//net", 54 "//net",
44 ] 55 ]
45 } 56 }
46 57
47 source_set("unit_tests") { 58 source_set("unit_tests") {
48 testonly = true 59 testonly = true
49 60
50 visibility = [ "//components/download:unit_tests" ] 61 visibility = [ "//components/download:unit_tests" ]
51 62
52 sources = [ 63 sources = [
64 "client_set_unittest.cc",
65 "controller_impl_unittest.cc",
66 "entry_utils_unittest.cc",
53 "model_impl_unittest.cc", 67 "model_impl_unittest.cc",
54 "scheduler/battery_listener_unittest.cc", 68 "scheduler/battery_listener_unittest.cc",
55 "scheduler/network_listener_unittest.cc", 69 "scheduler/network_listener_unittest.cc",
56 ] 70 ]
57 71
58 deps = [ 72 deps = [
59 ":internal", 73 ":internal",
60 "//base/test:test_support", 74 "//base/test:test_support",
61 "//components/download/internal/test:test_support", 75 "//components/download/internal/test:test_support",
62 "//testing/gmock", 76 "//testing/gmock",
63 "//testing/gtest", 77 "//testing/gtest",
64 ] 78 ]
65 } 79 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698