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