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("component_updater") { | 5 source_set("component_updater") { |
6 sources = [ | 6 sources = [ |
7 "background_downloader_win.cc", | 7 "background_downloader_win.cc", |
8 "background_downloader_win.h", | 8 "background_downloader_win.h", |
9 "component_patcher.cc", | 9 "component_patcher.cc", |
10 "component_patcher.h", | 10 "component_patcher.h", |
(...skipping 27 matching lines...) Expand all Loading... |
38 "url_fetcher_downloader.h", | 38 "url_fetcher_downloader.h", |
39 ] | 39 ] |
40 | 40 |
41 deps = [ | 41 deps = [ |
42 "//base", | 42 "//base", |
43 "//components/crx_file", | 43 "//components/crx_file", |
44 "//components/omaha_query_params", | 44 "//components/omaha_query_params", |
45 "//courgette:courgette_lib", | 45 "//courgette:courgette_lib", |
46 "//crypto", | 46 "//crypto", |
47 "//third_party/libxml", | 47 "//third_party/libxml", |
48 "//third_party/zlib", | 48 "//third_party/zlib:zip", |
49 "//net", | 49 "//net", |
50 "//ui/base", | 50 "//ui/base", |
51 ] | 51 ] |
52 } | 52 } |
| 53 |
| 54 static_library("test_support") { |
| 55 sources = [ |
| 56 "test/test_configurator.cc", |
| 57 "test/test_configurator.h", |
| 58 "test/test_installer.cc", |
| 59 "test/test_installer.h", |
| 60 "test/url_request_post_interceptor.cc", |
| 61 "test/url_request_post_interceptor.h", |
| 62 ] |
| 63 |
| 64 deps = [ |
| 65 ":component_updater", |
| 66 "//testing/gtest", |
| 67 "//testing/gmock", |
| 68 ] |
| 69 } |
| 70 |
| 71 source_set("unit_tests") { |
| 72 sources = [ |
| 73 "test/component_patcher_unittest.cc", |
| 74 "test/component_updater_ping_manager_unittest.cc", |
| 75 "test/crx_downloader_unittest.cc", |
| 76 "test/update_checker_unittest.cc", |
| 77 "test/update_response_unittest.cc", |
| 78 ] |
| 79 |
| 80 deps = [ |
| 81 ":component_updater", |
| 82 ":test_support", |
| 83 "//testing/gtest", |
| 84 "//testing/gmock", |
| 85 "//third_party/libxml", |
| 86 ] |
| 87 } |
OLD | NEW |