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

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

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android 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
« no previous file with comments | « components/cloud_devices/common/BUILD.gn ('k') | components/crx_file/BUILD.gn » ('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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « components/cloud_devices/common/BUILD.gn ('k') | components/crx_file/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698