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

Unified Diff: components/component_updater/BUILD.gn

Issue 1570873003: Adds a mock for component_updater::ComponentUpdateService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds dependency on //base Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/component_updater.gypi ('k') | components/component_updater/mock_component_updater_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/component_updater/BUILD.gn
diff --git a/components/component_updater/BUILD.gn b/components/component_updater/BUILD.gn
index 1f9cfb4adf8449f866e614147ae82dce47cb5daa..45cbc32891522f445986523afb68e637cbdf2ade 100644
--- a/components/component_updater/BUILD.gn
+++ b/components/component_updater/BUILD.gn
@@ -32,6 +32,20 @@ source_set("component_updater") {
]
}
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "mock_component_updater_service.cc",
+ "mock_component_updater_service.h",
+ ]
+
+ public_deps = [
+ ":component_updater",
+ "//base",
+ "//testing/gmock",
+ ]
+}
+
source_set("unit_tests") {
testonly = true
sources = [
« no previous file with comments | « components/component_updater.gypi ('k') | components/component_updater/mock_component_updater_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698