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

Unified Diff: components/payments/BUILD.gn

Issue 2373103002: [Web Payments] Common Payments validation (Closed)
Patch Set: Fixed validator 2 Created 4 years, 1 month 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
« no previous file with comments | « components/BUILD.gn ('k') | components/payments/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+}
« no previous file with comments | « components/BUILD.gn ('k') | components/payments/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698