summaryrefslogtreecommitdiffstats
path: root/components/component_updater/BUILD.gn
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2014-11-26 10:38:55 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-26 18:39:19 +0000
commit462851f7ef02d8481a8225decfd940c8498b9485 (patch)
tree8faaeb0031d3eac527f3495e909f6e87c0353251 /components/component_updater/BUILD.gn
parent9548243fca6a3524694de5683a4486d70837d968 (diff)
downloadchromium_src-462851f7ef02d8481a8225decfd940c8498b9485.zip
chromium_src-462851f7ef02d8481a8225decfd940c8498b9485.tar.gz
chromium_src-462851f7ef02d8481a8225decfd940c8498b9485.tar.bz2
Add more components unittests to the GN build.
Add lots of missing dependencies identified by "gn check" in both the GN and GYP builds. Review URL: https://codereview.chromium.org/756233002 Cr-Commit-Position: refs/heads/master@{#305841}
Diffstat (limited to 'components/component_updater/BUILD.gn')
-rw-r--r--components/component_updater/BUILD.gn9
1 files changed, 8 insertions, 1 deletions
diff --git a/components/component_updater/BUILD.gn b/components/component_updater/BUILD.gn
index c693088..e8f6b7d 100644
--- a/components/component_updater/BUILD.gn
+++ b/components/component_updater/BUILD.gn
@@ -50,10 +50,11 @@ source_set("component_updater") {
"//third_party/zlib:zip",
"//net",
"//ui/base",
+ "//url",
]
}
-static_library("test_support") {
+source_set("test_support") {
testonly = true
sources = [
"test/test_configurator.cc",
@@ -66,8 +67,11 @@ static_library("test_support") {
deps = [
":component_updater",
+ "//base",
+ "//net:test_support",
"//testing/gtest",
"//testing/gmock",
+ "//url",
]
}
@@ -85,6 +89,9 @@ source_set("unit_tests") {
deps = [
":component_updater",
":test_support",
+ "//base",
+ "//courgette:courgette_lib",
+ "//net:test_support",
"//testing/gtest",
"//testing/gmock",
"//third_party/libxml",