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

Unified Diff: components/autocomplete/BUILD.gn

Issue 398423007: Add initial components unit tests to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: components/autocomplete/BUILD.gn
diff --git a/components/autocomplete/BUILD.gn b/components/autocomplete/BUILD.gn
index 8341faf0baf566cae355522867a7a14c5c8f4e14..38e2a410917666bd9f6ab443b438ce6f7c680193 100644
--- a/components/autocomplete/BUILD.gn
+++ b/components/autocomplete/BUILD.gn
@@ -18,6 +18,10 @@ static_library("autocomplete") {
"//net",
"//url",
]
+
+ forward_dependent_configs_from = [
+ "//components/metrics/proto",
+ ]
}
static_library("test_support") {
@@ -32,3 +36,15 @@ static_library("test_support") {
"//components/metrics/proto",
]
}
+
+source_set("unit_tests") {
+ sources = [
+ "autocomplete_input_unittest.cc",
+ ]
+
+ deps = [
+ ":autocomplete",
+ ":test_support",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698