| Index: components/payments/BUILD.gn
|
| diff --git a/components/payments/BUILD.gn b/components/payments/BUILD.gn
|
| index fe3fe64cbe8e82cb3935652a574a211cd78e7947..750b7150c49ac218811d7e647319ff6cb154efdf 100644
|
| --- a/components/payments/BUILD.gn
|
| +++ b/components/payments/BUILD.gn
|
| @@ -13,3 +13,31 @@ mojom("payment_request") {
|
| "//mojo/common:common_custom_types",
|
| ]
|
| }
|
| +
|
| +static_library("payment_validation") {
|
| + sources = [
|
| + "payment_details_validation.cc",
|
| + "payment_details_validation.h",
|
| + "payments_validators.cc",
|
| + "payments_validators.h",
|
| + ]
|
| +
|
| + deps = [
|
| + ":payment_request",
|
| + "//base",
|
| + "//third_party/re2:re2",
|
| + "//url:url",
|
| + ]
|
| +}
|
| +
|
| +static_library("unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "payments_validators_test.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":payment_validation",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|