| Index: components/payments/BUILD.gn
|
| diff --git a/components/payments/BUILD.gn b/components/payments/BUILD.gn
|
| index a0bff0681aeebdeb398d804437957ac2ce1c4e93..fa424985a7c1c716922faa525a193f150c44160f 100644
|
| --- a/components/payments/BUILD.gn
|
| +++ b/components/payments/BUILD.gn
|
| @@ -42,7 +42,7 @@ if (!is_ios) {
|
|
|
| deps = [
|
| ":payment_request",
|
| - ":payment_validation",
|
| + ":payment_utils",
|
| "//components/autofill/core/browser",
|
| "//content/public/browser",
|
| "//mojo/public/cpp/bindings",
|
| @@ -50,12 +50,14 @@ if (!is_ios) {
|
| }
|
| }
|
|
|
| -static_library("payment_validation") {
|
| +static_library("payment_utils") {
|
| sources = [
|
| "currency_formatter.cc",
|
| "currency_formatter.h",
|
| "payment_details_validation.cc",
|
| "payment_details_validation.h",
|
| + "payment_manifest_downloader.cc",
|
| + "payment_manifest_downloader.h",
|
| "payments_validators.cc",
|
| "payments_validators.h",
|
| ]
|
| @@ -63,6 +65,8 @@ static_library("payment_validation") {
|
| deps = [
|
| ":payment_request",
|
| "//base",
|
| + "//components/link_header_util",
|
| + "//net",
|
| "//third_party/re2:re2",
|
| "//url:url",
|
| ]
|
| @@ -76,12 +80,14 @@ source_set("unit_tests") {
|
| testonly = true
|
| sources = [
|
| "currency_formatter_unittest.cc",
|
| + "payment_manifest_downloader_test.cc",
|
| "payments_validators_test.cc",
|
| ]
|
|
|
| deps = [
|
| - ":payment_validation",
|
| + ":payment_utils",
|
| "//base",
|
| + "//testing/gmock",
|
| "//testing/gtest",
|
| "//third_party/icu:icu",
|
| ]
|
|
|