Index: components/payments/core/BUILD.gn |
diff --git a/components/payments/core/BUILD.gn b/components/payments/core/BUILD.gn |
index 0bb04822ea8b5e1257dc9b66c9bc13ebaadfb65e..291a88522d5c0b86bdb6fc0aeaa4bdbeecf68b7c 100644 |
--- a/components/payments/core/BUILD.gn |
+++ b/components/payments/core/BUILD.gn |
@@ -47,6 +47,22 @@ static_library("core") { |
] |
} |
+static_library("test_support") { |
+ testonly = true |
+ sources = [ |
+ "test_address_normalizer.cc", |
+ "test_address_normalizer.h", |
+ "test_payment_request_delegate.cc", |
+ "test_payment_request_delegate.h", |
+ ] |
+ |
+ deps = [ |
+ ":core", |
+ "//base", |
+ "//components/autofill/core/browser", |
+ ] |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
sources = [ |
@@ -63,6 +79,7 @@ source_set("unit_tests") { |
deps = [ |
":core", |
+ ":test_support", |
"//base", |
"//base/test:test_support", |
"//components/autofill/core/browser", |