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 import("//net/features.gni") | 5 import("//net/features.gni") |
6 | 6 |
7 static_library("update_client") { | 7 static_library("update_client") { |
8 sources = [ | 8 sources = [ |
9 "background_downloader_win.cc", | 9 "background_downloader_win.cc", |
10 "background_downloader_win.h", | 10 "background_downloader_win.h", |
11 "component.cc", | 11 "component.cc", |
12 "component.h", | 12 "component.h", |
13 "component_patcher.cc", | 13 "component_patcher.cc", |
14 "component_patcher.h", | 14 "component_patcher.h", |
15 "component_patcher_operation.cc", | 15 "component_patcher_operation.cc", |
16 "component_patcher_operation.h", | 16 "component_patcher_operation.h", |
17 "component_unpacker.cc", | 17 "component_unpacker.cc", |
18 "component_unpacker.h", | 18 "component_unpacker.h", |
19 "configurator.h", | 19 "configurator.h", |
20 "crx_downloader.cc", | 20 "crx_downloader.cc", |
21 "crx_downloader.h", | 21 "crx_downloader.h", |
22 "crx_update_item.h", | 22 "crx_update_item.h", |
23 "out_of_process_patcher.h", | 23 "out_of_process_patcher.h", |
24 "persisted_data.cc", | 24 "persisted_data.cc", |
25 "persisted_data.h", | 25 "persisted_data.h", |
26 "ping_manager.cc", | 26 "ping_manager.cc", |
27 "ping_manager.h", | 27 "ping_manager.h", |
| 28 "protocol_builder.cc", |
| 29 "protocol_builder.h", |
28 "protocol_parser.cc", | 30 "protocol_parser.cc", |
29 "protocol_parser.h", | 31 "protocol_parser.h", |
30 "request_sender.cc", | 32 "request_sender.cc", |
31 "request_sender.h", | 33 "request_sender.h", |
32 "task.h", | 34 "task.h", |
33 "task_send_uninstall_ping.cc", | 35 "task_send_uninstall_ping.cc", |
34 "task_send_uninstall_ping.h", | 36 "task_send_uninstall_ping.h", |
35 "task_update.cc", | 37 "task_update.cc", |
36 "task_update.h", | 38 "task_update.h", |
37 "update_checker.cc", | 39 "update_checker.cc", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 } | 125 } |
124 | 126 |
125 source_set("unit_tests") { | 127 source_set("unit_tests") { |
126 testonly = true | 128 testonly = true |
127 sources = [ | 129 sources = [ |
128 "component_patcher_unittest.cc", | 130 "component_patcher_unittest.cc", |
129 "component_patcher_unittest.h", | 131 "component_patcher_unittest.h", |
130 "component_unpacker_unittest.cc", | 132 "component_unpacker_unittest.cc", |
131 "persisted_data_unittest.cc", | 133 "persisted_data_unittest.cc", |
132 "ping_manager_unittest.cc", | 134 "ping_manager_unittest.cc", |
| 135 "protocol_builder_unittest.cc", |
133 "protocol_parser_unittest.cc", | 136 "protocol_parser_unittest.cc", |
134 "request_sender_unittest.cc", | 137 "request_sender_unittest.cc", |
135 "update_checker_unittest.cc", | 138 "update_checker_unittest.cc", |
136 "update_client_unittest.cc", | 139 "update_client_unittest.cc", |
137 "update_query_params_unittest.cc", | 140 "update_query_params_unittest.cc", |
138 "updater_state_unittest.cc", | 141 "updater_state_unittest.cc", |
139 "utils_unittest.cc", | 142 "utils_unittest.cc", |
140 ] | 143 ] |
141 | 144 |
142 if (!disable_file_support) { | 145 if (!disable_file_support) { |
143 sources += [ "crx_downloader_unittest.cc" ] | 146 sources += [ "crx_downloader_unittest.cc" ] |
144 } | 147 } |
145 | 148 |
146 deps = [ | 149 deps = [ |
147 ":test_support", | 150 ":test_support", |
148 ":unit_tests_bundle_data", | 151 ":unit_tests_bundle_data", |
149 ":update_client", | 152 ":update_client", |
150 "//base", | 153 "//base", |
151 "//components/prefs", | 154 "//components/prefs", |
152 "//components/prefs:test_support", | 155 "//components/prefs:test_support", |
153 "//components/version_info:version_info", | 156 "//components/version_info:version_info", |
154 "//courgette:courgette_lib", | 157 "//courgette:courgette_lib", |
155 "//net:test_support", | 158 "//net:test_support", |
156 "//testing/gmock", | 159 "//testing/gmock", |
157 "//testing/gtest", | 160 "//testing/gtest", |
158 "//third_party/libxml", | 161 "//third_party/libxml", |
159 ] | 162 ] |
160 } | 163 } |
OLD | NEW |