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