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

Unified Diff: components/payments/BUILD.gn

Issue 2611253004: [Payment Request] Change the lifetime management of PaymentRequestImpl (Closed)
Patch Set: PaymentRequestImpl -> PaymentRequest Created 3 years, 11 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
« no previous file with comments | « chrome/test/data/payment_request_multiple_requests.html ('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 924122beec489c7c06b64ab14a0aaaeb5601f7d8..22ae52831cd118c6671a145d32ff1d58a1a0e093 100644
--- a/components/payments/BUILD.gn
+++ b/components/payments/BUILD.gn
@@ -24,6 +24,28 @@ mojom("payment_app") {
]
}
+# TODO(crbug.com/679381): Create a layered component to that we can remove the
+# iOS check here (iOS strict DEPS checker doesn't like the //content dependency
+# below).
+if (!is_ios) {
+ static_library("payment_request_impl") {
+ sources = [
+ "payment_request.cc",
+ "payment_request.h",
+ "payment_request_delegate.h",
+ "payment_request_web_contents_manager.cc",
+ "payment_request_web_contents_manager.h",
+ ]
+
+ deps = [
+ ":payment_request",
+ ":payment_validation",
+ "//content/public/browser",
+ "//mojo/public/cpp/bindings",
+ ]
+ }
+}
+
static_library("payment_validation") {
sources = [
"payment_details_validation.cc",
« no previous file with comments | « chrome/test/data/payment_request_multiple_requests.html ('k') | components/payments/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698