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 "background_downloader_win.cc", |
| 8 "background_downloader_win.h", |
| 9 "component_patcher.cc", |
| 10 "component_patcher.h", |
| 11 "component_patcher_operation.cc", |
| 12 "component_patcher_operation.h", |
| 13 "component_unpacker.cc", |
| 14 "component_unpacker.h", |
| 15 "ping_manager.cc", |
| 16 "ping_manager.h", |
| 17 "utils.cc", |
| 18 "utils.h", |
| 19 "crx_update_item.h", |
| 20 "crx_downloader.cc", |
| 21 "crx_downloader.h", |
| 22 "request_sender.cc", |
| 23 "request_sender.h", |
| 24 "update_checker.cc", |
| 25 "update_checker.h", |
| 26 "update_client.cc", |
| 27 "update_client.h", |
7 "update_query_params.cc", | 28 "update_query_params.cc", |
8 "update_query_params.h", | 29 "update_query_params.h", |
9 "update_query_params_delegate.cc", | 30 "update_query_params_delegate.cc", |
10 "update_query_params_delegate.h", | 31 "update_query_params_delegate.h", |
| 32 "update_response.cc", |
| 33 "update_response.h", |
| 34 "url_fetcher_downloader.cc", |
| 35 "url_fetcher_downloader.h", |
11 ] | 36 ] |
12 | 37 |
13 deps = [ | 38 deps = [ |
14 "//base", | 39 "//base", |
| 40 "//components/crx_file", |
| 41 "//courgette:courgette_lib", |
| 42 "//crypto", |
| 43 "//third_party/libxml", |
| 44 "//third_party/zlib:zip", |
| 45 "//net", |
| 46 "//url", |
15 ] | 47 ] |
16 } | 48 } |
| 49 |
| 50 source_set("test_support") { |
| 51 testonly = true |
| 52 sources = [ |
| 53 "test/test_configurator.cc", |
| 54 "test/test_configurator.h", |
| 55 "test/test_installer.cc", |
| 56 "test/test_installer.h", |
| 57 "test/url_request_post_interceptor.cc", |
| 58 "test/url_request_post_interceptor.h", |
| 59 ] |
| 60 |
| 61 deps = [ |
| 62 ":update_client", |
| 63 "//base", |
| 64 "//net:test_support", |
| 65 "//testing/gtest", |
| 66 "//testing/gmock", |
| 67 "//url", |
| 68 ] |
| 69 } |
| 70 |
| 71 source_set("unit_tests") { |
| 72 testonly = true |
| 73 sources = [ |
| 74 "test/component_patcher_unittest.cc", |
| 75 "test/ping_manager_unittest.cc", |
| 76 "test/crx_downloader_unittest.cc", |
| 77 "test/request_sender_unittest.cc", |
| 78 "test/update_checker_unittest.cc", |
| 79 "test/update_response_unittest.cc", |
| 80 ] |
| 81 |
| 82 deps = [ |
| 83 ":update_client", |
| 84 ":test_support", |
| 85 "//base", |
| 86 "//courgette:courgette_lib", |
| 87 "//net:test_support", |
| 88 "//testing/gtest", |
| 89 "//testing/gmock", |
| 90 "//third_party/libxml", |
| 91 ] |
| 92 } |
OLD | NEW |