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

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

Issue 2895953004: Add initial Controller to DownloadService (Closed)
Patch Set: Rebased 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 "download_store.cc", 29 "download_store.cc",
25 "download_store.h", 30 "download_store.h",
26 "driver_entry.cc", 31 "driver_entry.cc",
27 "driver_entry.h", 32 "driver_entry.h",
28 "entry.cc", 33 "entry.cc",
29 "entry.h", 34 "entry.h",
35 "entry_utils.cc",
36 "entry_utils.h",
30 "model.h", 37 "model.h",
31 "model_impl.cc", 38 "model_impl.cc",
32 "model_impl.h", 39 "model_impl.h",
33 "proto_conversions.cc", 40 "proto_conversions.cc",
34 "proto_conversions.h", 41 "proto_conversions.h",
35 "scheduler/battery_listener.cc", 42 "scheduler/battery_listener.cc",
36 "scheduler/battery_listener.h", 43 "scheduler/battery_listener.h",
37 "scheduler/network_listener.cc", 44 "scheduler/network_listener.cc",
38 "scheduler/network_listener.h", 45 "scheduler/network_listener.h",
46 "startup_status.cc",
47 "startup_status.h",
48 "stats.cc",
49 "stats.h",
39 "store.h", 50 "store.h",
40 ] 51 ]
41 52
42 deps = [ 53 deps = [
43 "//base", 54 "//base",
44 "//components/download/internal/proto", 55 "//components/download/internal/proto",
45 "//components/download/public", 56 "//components/download/public",
46 "//components/leveldb_proto", 57 "//components/leveldb_proto",
47 "//net", 58 "//net",
48 ] 59 ]
49 } 60 }
50 61
51 source_set("unit_tests") { 62 source_set("unit_tests") {
52 testonly = true 63 testonly = true
53 64
54 visibility = [ "//components/download:unit_tests" ] 65 visibility = [ "//components/download:unit_tests" ]
55 66
56 sources = [ 67 sources = [
68 "client_set_unittest.cc",
69 "controller_impl_unittest.cc",
57 "download_store_unittest.cc", 70 "download_store_unittest.cc",
71 "entry_utils_unittest.cc",
58 "model_impl_unittest.cc", 72 "model_impl_unittest.cc",
59 "proto_conversions_unittest.cc", 73 "proto_conversions_unittest.cc",
60 "scheduler/battery_listener_unittest.cc", 74 "scheduler/battery_listener_unittest.cc",
61 "scheduler/network_listener_unittest.cc", 75 "scheduler/network_listener_unittest.cc",
62 ] 76 ]
63 77
64 deps = [ 78 deps = [
65 ":internal", 79 ":internal",
66 "//base/test:test_support", 80 "//base/test:test_support",
67 "//components/download/internal/proto", 81 "//components/download/internal/proto",
68 "//components/download/internal/test:test_support", 82 "//components/download/internal/test:test_support",
69 "//components/leveldb_proto:test_support", 83 "//components/leveldb_proto:test_support",
70 "//testing/gmock", 84 "//testing/gmock",
71 "//testing/gtest", 85 "//testing/gtest",
72 ] 86 ]
73 } 87 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_service_factory.cc ('k') | components/download/internal/client_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698