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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 deps = [ | 43 deps = [ |
44 "//base", | 44 "//base", |
45 "//components/crx_file", | 45 "//components/crx_file", |
46 "//components/omaha_client", | 46 "//components/omaha_client", |
47 "//courgette:courgette_lib", | 47 "//courgette:courgette_lib", |
48 "//crypto", | 48 "//crypto", |
49 "//third_party/libxml", | 49 "//third_party/libxml", |
50 "//third_party/zlib:zip", | 50 "//third_party/zlib:zip", |
51 "//net", | 51 "//net", |
52 "//ui/base", | 52 "//ui/base", |
| 53 "//url", |
53 ] | 54 ] |
54 } | 55 } |
55 | 56 |
56 static_library("test_support") { | 57 source_set("test_support") { |
57 testonly = true | 58 testonly = true |
58 sources = [ | 59 sources = [ |
59 "test/test_configurator.cc", | 60 "test/test_configurator.cc", |
60 "test/test_configurator.h", | 61 "test/test_configurator.h", |
61 "test/test_installer.cc", | 62 "test/test_installer.cc", |
62 "test/test_installer.h", | 63 "test/test_installer.h", |
63 "test/url_request_post_interceptor.cc", | 64 "test/url_request_post_interceptor.cc", |
64 "test/url_request_post_interceptor.h", | 65 "test/url_request_post_interceptor.h", |
65 ] | 66 ] |
66 | 67 |
67 deps = [ | 68 deps = [ |
68 ":component_updater", | 69 ":component_updater", |
| 70 "//base", |
| 71 "//net:test_support", |
69 "//testing/gtest", | 72 "//testing/gtest", |
70 "//testing/gmock", | 73 "//testing/gmock", |
| 74 "//url", |
71 ] | 75 ] |
72 } | 76 } |
73 | 77 |
74 source_set("unit_tests") { | 78 source_set("unit_tests") { |
75 testonly = true | 79 testonly = true |
76 sources = [ | 80 sources = [ |
77 "test/component_patcher_unittest.cc", | 81 "test/component_patcher_unittest.cc", |
78 "test/component_updater_ping_manager_unittest.cc", | 82 "test/component_updater_ping_manager_unittest.cc", |
79 "test/crx_downloader_unittest.cc", | 83 "test/crx_downloader_unittest.cc", |
80 "test/request_sender_unittest.cc", | 84 "test/request_sender_unittest.cc", |
81 "test/update_checker_unittest.cc", | 85 "test/update_checker_unittest.cc", |
82 "test/update_response_unittest.cc", | 86 "test/update_response_unittest.cc", |
83 ] | 87 ] |
84 | 88 |
85 deps = [ | 89 deps = [ |
86 ":component_updater", | 90 ":component_updater", |
87 ":test_support", | 91 ":test_support", |
| 92 "//base", |
| 93 "//courgette:courgette_lib", |
| 94 "//net:test_support", |
88 "//testing/gtest", | 95 "//testing/gtest", |
89 "//testing/gmock", | 96 "//testing/gmock", |
90 "//third_party/libxml", | 97 "//third_party/libxml", |
91 ] | 98 ] |
92 } | 99 } |
OLD | NEW |