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 "action.cc", | 7 "action.cc", |
8 "action.h", | 8 "action.h", |
9 "action_update.cc", | 9 "action_update.cc", |
10 "action_update.h", | 10 "action_update.h", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 "url_fetcher_downloader.h", | 48 "url_fetcher_downloader.h", |
49 "utils.cc", | 49 "utils.cc", |
50 "utils.h", | 50 "utils.h", |
51 ] | 51 ] |
52 | 52 |
53 deps = [ | 53 deps = [ |
54 "//base", | 54 "//base", |
55 "//components/crx_file", | 55 "//components/crx_file", |
56 "//courgette:courgette_lib", | 56 "//courgette:courgette_lib", |
57 "//crypto", | 57 "//crypto", |
| 58 "//net", |
58 "//third_party/libxml", | 59 "//third_party/libxml", |
59 "//third_party/zlib:zip", | 60 "//third_party/zlib:zip", |
60 "//net", | |
61 "//ui/base", | 61 "//ui/base", |
62 "//url", | 62 "//url", |
63 ] | 63 ] |
64 } | 64 } |
65 | 65 |
66 source_set("test_support") { | 66 source_set("test_support") { |
67 testonly = true | 67 testonly = true |
68 sources = [ | 68 sources = [ |
69 "test_configurator.cc", | 69 "test_configurator.cc", |
70 "test_configurator.h", | 70 "test_configurator.h", |
71 "test_installer.cc", | 71 "test_installer.cc", |
72 "test_installer.h", | 72 "test_installer.h", |
73 "url_request_post_interceptor.cc", | 73 "url_request_post_interceptor.cc", |
74 "url_request_post_interceptor.h", | 74 "url_request_post_interceptor.h", |
75 ] | 75 ] |
76 | 76 |
77 public_deps = [ | 77 public_deps = [ |
78 ":update_client", | 78 ":update_client", |
79 ] | 79 ] |
80 deps = [ | 80 deps = [ |
81 "//base", | 81 "//base", |
82 "//net:test_support", | 82 "//net:test_support", |
| 83 "//testing/gmock", |
83 "//testing/gtest", | 84 "//testing/gtest", |
84 "//testing/gmock", | |
85 "//url", | 85 "//url", |
86 ] | 86 ] |
87 } | 87 } |
88 | 88 |
89 source_set("unit_tests") { | 89 source_set("unit_tests") { |
90 testonly = true | 90 testonly = true |
91 sources = [ | 91 sources = [ |
92 "component_patcher_unittest.cc", | 92 "component_patcher_unittest.cc", |
93 "crx_downloader_unittest.cc", | 93 "crx_downloader_unittest.cc", |
94 "ping_manager_unittest.cc", | 94 "ping_manager_unittest.cc", |
95 "request_sender_unittest.cc", | 95 "request_sender_unittest.cc", |
96 "update_checker_unittest.cc", | 96 "update_checker_unittest.cc", |
97 "update_client_unittest.cc", | 97 "update_client_unittest.cc", |
98 "update_query_params_unittest.cc", | 98 "update_query_params_unittest.cc", |
99 "update_response_unittest.cc", | 99 "update_response_unittest.cc", |
100 ] | 100 ] |
101 | 101 |
102 deps = [ | 102 deps = [ |
| 103 ":test_support", |
103 ":update_client", | 104 ":update_client", |
104 ":test_support", | |
105 "//base", | 105 "//base", |
106 "//courgette:courgette_lib", | 106 "//courgette:courgette_lib", |
107 "//net:test_support", | 107 "//net:test_support", |
| 108 "//testing/gmock", |
108 "//testing/gtest", | 109 "//testing/gtest", |
109 "//testing/gmock", | |
110 "//third_party/libxml", | 110 "//third_party/libxml", |
111 ] | 111 ] |
112 } | 112 } |
OLD | NEW |