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

Unified Diff: components/autofill/content/browser/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/autofill/content/browser/BUILD.gn
diff --git a/components/autofill/content/browser/BUILD.gn b/components/autofill/content/browser/BUILD.gn
index bdae0f2f54064af0dc186ba832756463bb6c24f5..dce931db14dda898e63226a4826054f5ae1597db 100644
--- a/components/autofill/content/browser/BUILD.gn
+++ b/components/autofill/content/browser/BUILD.gn
@@ -64,6 +64,10 @@ static_library("browser") {
#"../third_party/libjingle/libjingle.gyp:libjingle", TODO(GYP)
#"user_prefs", TODO(GYP)
]
+
+ forward_dependent_configs_from = [
+ "//skia",
+ ]
}
proto_library("risk_proto") {
@@ -85,3 +89,24 @@ static_library("test_support") {
"//testing/gmock",
]
}
+
+source_set("unit_tests") {
+ sources = [
+ "content_autofill_driver_unittest.cc",
+ "request_autocomplete_manager_unittest.cc",
+ "wallet/full_wallet_unittest.cc",
+ "wallet/instrument_unittest.cc",
+ "wallet/wallet_address_unittest.cc",
+ "wallet/wallet_client_unittest.cc",
+ "wallet/wallet_items_unittest.cc",
+ "wallet/wallet_service_url_unittest.cc",
+ "wallet/wallet_signin_helper_unittest.cc",
+ ]
+
+ deps = [
+ ":browser",
+ ":test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698