OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 source_set("update_client") { | 5 source_set("update_client") { |
6 sources = [ | 6 sources = [ |
7 "action.cc", | 7 "action.cc", |
8 "action.h", | 8 "action.h", |
9 "action_update.cc", | 9 "action_update.cc", |
10 "action_update.h", | 10 "action_update.h", |
11 "action_update_check.cc", | 11 "action_update_check.cc", |
12 "action_update_check.h", | 12 "action_update_check.h", |
13 "action_wait.cc", | 13 "action_wait.cc", |
14 "action_wait.h", | 14 "action_wait.h", |
15 "background_downloader_win.cc", | 15 "background_downloader_win.cc", |
16 "background_downloader_win.h", | 16 "background_downloader_win.h", |
17 "component_patcher.cc", | 17 "component_patcher.cc", |
18 "component_patcher.h", | 18 "component_patcher.h", |
19 "component_patcher_operation.cc", | 19 "component_patcher_operation.cc", |
20 "component_patcher_operation.h", | 20 "component_patcher_operation.h", |
21 "component_unpacker.cc", | 21 "component_unpacker.cc", |
22 "component_unpacker.h", | 22 "component_unpacker.h", |
23 "configurator.h", | 23 "configurator.h", |
24 "crx_downloader.cc", | 24 "crx_downloader.cc", |
25 "crx_downloader.h", | 25 "crx_downloader.h", |
26 "crx_update_item.h", | 26 "crx_update_item.h", |
| 27 "persisted_data.cc", |
| 28 "persisted_data.h", |
27 "ping_manager.cc", | 29 "ping_manager.cc", |
28 "ping_manager.h", | 30 "ping_manager.h", |
29 "request_sender.cc", | 31 "request_sender.cc", |
30 "request_sender.h", | 32 "request_sender.h", |
31 "task.h", | 33 "task.h", |
32 "task_update.cc", | 34 "task_update.cc", |
33 "task_update.h", | 35 "task_update.h", |
34 "update_checker.cc", | 36 "update_checker.cc", |
35 "update_checker.h", | 37 "update_checker.h", |
36 "update_client.cc", | 38 "update_client.cc", |
(...skipping 10 matching lines...) Expand all Loading... |
47 "url_fetcher_downloader.cc", | 49 "url_fetcher_downloader.cc", |
48 "url_fetcher_downloader.h", | 50 "url_fetcher_downloader.h", |
49 "utils.cc", | 51 "utils.cc", |
50 "utils.h", | 52 "utils.h", |
51 ] | 53 ] |
52 | 54 |
53 deps = [ | 55 deps = [ |
54 "//base", | 56 "//base", |
55 "//components/client_update_protocol", | 57 "//components/client_update_protocol", |
56 "//components/crx_file", | 58 "//components/crx_file", |
| 59 "//components/prefs", |
57 "//courgette:courgette_lib", | 60 "//courgette:courgette_lib", |
58 "//crypto", | 61 "//crypto", |
59 "//net", | 62 "//net", |
60 "//third_party/libxml", | 63 "//third_party/libxml", |
61 "//third_party/zlib:zip", | 64 "//third_party/zlib:zip", |
62 "//url", | 65 "//url", |
63 ] | 66 ] |
64 } | 67 } |
65 | 68 |
66 source_set("test_support") { | 69 source_set("test_support") { |
67 testonly = true | 70 testonly = true |
68 sources = [ | 71 sources = [ |
69 "test_configurator.cc", | 72 "test_configurator.cc", |
70 "test_configurator.h", | 73 "test_configurator.h", |
71 "test_installer.cc", | 74 "test_installer.cc", |
72 "test_installer.h", | 75 "test_installer.h", |
73 "url_request_post_interceptor.cc", | 76 "url_request_post_interceptor.cc", |
74 "url_request_post_interceptor.h", | 77 "url_request_post_interceptor.h", |
75 ] | 78 ] |
76 | 79 |
77 public_deps = [ | 80 public_deps = [ |
78 ":update_client", | 81 ":update_client", |
79 ] | 82 ] |
80 deps = [ | 83 deps = [ |
81 "//base", | 84 "//base", |
| 85 "//components/prefs", |
82 "//net:test_support", | 86 "//net:test_support", |
83 "//testing/gmock", | 87 "//testing/gmock", |
84 "//testing/gtest", | 88 "//testing/gtest", |
85 "//url", | 89 "//url", |
86 ] | 90 ] |
87 } | 91 } |
88 | 92 |
89 source_set("unit_tests") { | 93 source_set("unit_tests") { |
90 testonly = true | 94 testonly = true |
91 sources = [ | 95 sources = [ |
92 "component_patcher_unittest.cc", | 96 "component_patcher_unittest.cc", |
93 "crx_downloader_unittest.cc", | 97 "crx_downloader_unittest.cc", |
| 98 "persisted_data_unittest.cc", |
94 "ping_manager_unittest.cc", | 99 "ping_manager_unittest.cc", |
95 "request_sender_unittest.cc", | 100 "request_sender_unittest.cc", |
96 "update_checker_unittest.cc", | 101 "update_checker_unittest.cc", |
97 "update_client_unittest.cc", | 102 "update_client_unittest.cc", |
98 "update_query_params_unittest.cc", | 103 "update_query_params_unittest.cc", |
99 "update_response_unittest.cc", | 104 "update_response_unittest.cc", |
100 "utils_unittest.cc", | 105 "utils_unittest.cc", |
101 ] | 106 ] |
102 | 107 |
103 deps = [ | 108 deps = [ |
104 ":test_support", | 109 ":test_support", |
105 ":update_client", | 110 ":update_client", |
106 "//base", | 111 "//base", |
| 112 "//components/prefs", |
| 113 "//components/prefs:test_support", |
107 "//courgette:courgette_lib", | 114 "//courgette:courgette_lib", |
108 "//net:test_support", | 115 "//net:test_support", |
109 "//testing/gmock", | 116 "//testing/gmock", |
110 "//testing/gtest", | 117 "//testing/gtest", |
111 "//third_party/libxml", | 118 "//third_party/libxml", |
112 ] | 119 ] |
113 } | 120 } |
OLD | NEW |