Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: components/component_updater/BUILD.gn

Issue 493953002: Componentize component_updater: Move a bunch of tests to component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/component_updater.gypi ('k') | components/component_updater/test/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « components/component_updater.gypi ('k') | components/component_updater/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698