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

Unified Diff: components/data_reduction_proxy/core/browser/BUILD.gn

Issue 756233002: Add more components unittests to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/data_reduction_proxy.gypi ('k') | components/data_reduction_proxy/core/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/BUILD.gn
diff --git a/components/data_reduction_proxy/core/browser/BUILD.gn b/components/data_reduction_proxy/core/browser/BUILD.gn
index e3348a9ac6b90c83d28ac71c9c7b5ed76c98dc2b..ed9fb760eaa70ff005529b3ea1de2ea41a0cdd78 100644
--- a/components/data_reduction_proxy/core/browser/BUILD.gn
+++ b/components/data_reduction_proxy/core/browser/BUILD.gn
@@ -31,10 +31,12 @@ static_library("browser") {
deps = [
"//base",
+ "//base:prefs",
"//components/data_reduction_proxy/core/common",
"//components/pref_registry",
"//crypto",
"//net",
+ "//url",
]
if (!is_android && !is_ios) {
deps += [
@@ -43,16 +45,19 @@ static_library("browser") {
}
}
-static_library("test_support") {
+source_set("test_support") {
testonly = true
sources = [
"data_reduction_proxy_settings_test_utils.cc",
"data_reduction_proxy_settings_test_utils.h",
]
- deps = [
+ public_deps = [
":browser",
+ ]
+ deps = [
"//base",
+ "//base:prefs_test_support",
"//components/data_reduction_proxy/core/common",
"//components/data_reduction_proxy/core/common:test_support",
"//net",
@@ -78,6 +83,11 @@ source_set("unit_tests") {
deps = [
":browser",
":test_support",
+ "//base",
+ "//base:prefs_test_support",
+ "//base/test:test_support",
+ "//components/data_reduction_proxy/core/common:test_support",
+ "//net:test_support",
"//testing/gmock",
"//testing/gtest",
]
« no previous file with comments | « components/data_reduction_proxy.gypi ('k') | components/data_reduction_proxy/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698